Try this:
answer the formattedText of fld "yourField" It wraps unwrapped text with hard returns, and that will give the last line Craig -----Original Message----- From: Dr. Hawkins <doch...@gmail.com> To: How to use LiveCode <use-livecode@lists.runrev.com> Sent: Wed, Sep 18, 2013 11:23 am Subject: determining if cursor is in last line of a field If selectedLine() is 1, I am in the first line of a field. I can't tell, though, what the last line is--"the number of lines" relies on CR, not how the field is actually formatted. I've looked for other "line" entries in the dictionary, but without any luck. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ 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