How to tell a line from a paragraph?
Jeanne A. E. DeVoto
revolution at jaedworks.com
Thu Nov 3 23:15:41 EST 2005
At 3:42 PM -0800 11/2/2005, Michael wrote:
>Is it possible to determine on which "line" a word resides in a text field,
>where a line is defined not as a cr-delimited paragraph but as a "row" in
>the field's display?
This expression will produce the (visible) line number:
lineOffset(wordToLocate,the formattedText of field "My Field")
--
jeanne a. e. devoto ~ revolution at jaedworks.com
http://www.jaedworks.com
More information about the use-livecode
mailing list