Re: [ANN] Full justification for fields

2014-05-25 Thread John Craig
I've just uploaded 2 new versions.  The first has a slight performance 
tweak (which fixes a bit of sloppy programming!)  and may save a few 
cycles when processing larger amounts of text.  The second upload uses 
the offset function instead of the charIndex property, so will will work 
with the LC7 DP releases.


http://forums.runrev.com/viewtopic.php?f=4t=20513


On 23/05/2014 19:00, Mike Kerner wrote:

So any hope of posting a FIX:?






___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[ANN] Full justification for fields

2014-05-23 Thread John Craig
Thanks to Dave Kilroy for sharing the work around and the generosity of 
Mark Stephens of Simulytics for donating the code back to the LiveCode 
community, a new function is available to fully justify LiveCode text 
fields. LiveCode version = 6.5 is required as it uses the measureText 
function which was introduced in 6.5. It doesn't work with the LC7 DP 
releases as the charIndex property seems to be missing - I assume it's 
down to the unicode changes that are underway. I've been testing on Mac 
/ Linux and Windows - everything looks good so far !...


The code is in the public domain and completely free to use for any 
purpose  :D


http://forums.runrev.com/viewtopic.php?f=4t=20513
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Full justification for fields

2014-05-23 Thread Roger Eller
Awesome!  This takes me back to using Aldus PageMaker.  Yeah, I'm THAT old.
 ;)


On Fri, May 23, 2014 at 12:43 PM, John Craig j...@splash21.com wrote:

 Thanks to Dave Kilroy for sharing the work around and the generosity of
 Mark Stephens of Simulytics for donating the code back to the LiveCode
 community, a new function is available to fully justify LiveCode text
 fields. LiveCode version = 6.5 is required as it uses the measureText
 function which was introduced in 6.5. It doesn't work with the LC7 DP
 releases as the charIndex property seems to be missing - I assume it's down
 to the unicode changes that are underway. I've been testing on Mac / Linux
 and Windows - everything looks good so far !...

 The code is in the public domain and completely free to use for any
 purpose  :D

 http://forums.runrev.com/viewtopic.php?f=4t=20513
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Full justification for fields

2014-05-23 Thread Mike Kerner
So any hope of posting a FIX:?


On Fri, May 23, 2014 at 12:51 PM, Roger Eller
roger.e.el...@sealedair.comwrote:

 Awesome!  This takes me back to using Aldus PageMaker.  Yeah, I'm THAT old.
  ;)


 On Fri, May 23, 2014 at 12:43 PM, John Craig j...@splash21.com wrote:

  Thanks to Dave Kilroy for sharing the work around and the generosity of
  Mark Stephens of Simulytics for donating the code back to the LiveCode
  community, a new function is available to fully justify LiveCode text
  fields. LiveCode version = 6.5 is required as it uses the measureText
  function which was introduced in 6.5. It doesn't work with the LC7 DP
  releases as the charIndex property seems to be missing - I assume it's
 down
  to the unicode changes that are underway. I've been testing on Mac /
 Linux
  and Windows - everything looks good so far !...
 
  The code is in the public domain and completely free to use for any
  purpose  :D
 
  http://forums.runrev.com/viewtopic.php?f=4t=20513
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode