Wrapped lines as individual lines--shortcut?

Wilhelm Sanke sanke at hrz.uni-kassel.de
Sat Jul 30 06:58:54 EDT 2005


On Fri Jul 29 2005 Jim Hurley jhurley at infostations.com
 

> I have a field in which the dontwrap is false so that a single line
> of text is displayed on many wrapped lines within the field.
>
> Is there something *within Rev* that would allow me to pick out the
> *displayed* lines as individual lines? (I don't mean write a hander
> for this. I've done that, but I'm wondering whether there might be a
> shortcut. Clearly Run Rev, or the OS, knows what these lines are or
> they wouldn't be displayed that way.)
>
> Jim


Hi Jim,

depends on what you mean by "pick out the *displayed* lines as 
individual lines?" without writing a handler?

 From the message box (or within a handler) you could use

put line y of the formattedtext of fld "x".


-- Wilhelm Sanke
<http://www.sanke.org/MetaMedia>




More information about the use-livecode mailing list