Line Numbers in Text Editor
BNig
niggemann at uni-wh.de
Fri Jun 25 04:49:59 EDT 2010
Justin,
look at the formattedText property of a text field. It gives you the the
text of a field and inserts returns where the line wraps otherwise. This way
you have a line count of the field which matches what you see and not the
number of returns.
put the formattedText of field "myWrappingField" into temp
put the number of lines of temp
regards
Bernd
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Line-Numbers-in-Text-Editor-tp2266755p2268157.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list