scroll field to a searched-for word

J. Landman Gay jacque at hyperactivesw.com
Fri Apr 13 13:02:01 EDT 2012


On 4/13/12 9:16 AM, dunbarx at aol.com wrote:

> on mouseUp
>     put word 2 of the clickCharChunk into myPos
>     put the formattedText of fld 2 into myText
>     put number of lines of (char 1 to myPos of myText) into myLineNr
>     answer myLineNr
> end mouseUp
>
>
> This smacks of Jacque,

I can't take credit. I always include "the" with built-in functions, and 
I try to avoid "my" in variable names because it makes me cringe.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list