At 11:43 Uhr -0500 16.03.2004, roymeo wrote:
>Is there a way to detect via Lingo whether a line of text has wrapped?

you mean something like:

if theLine > 1 then first = textmember.line[1 .. (theLine - 1)].char.count + 2
else first = 1
last = textmember.line[theLine].char.count + first - 1

put textmember.charPosToLoc(first)[2] = textmember.charPosToLoc(last)[2]
-- 

  |||
ażex
 --

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to