determining if cursor is in last line of a field

Dr. Hawkins dochawk at gmail.com
Wed Sep 18 16:00:44 EDT 2013


On Wed, Sep 18, 2013 at 9:02 AM, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:

>    put number of lines of the formattedText of  \
>    char 1 to (word 2 of the selectedChunk) of me
>

Ah.

Obvious now that you mention it :)

Thank you.

And to make me feel *really* sheepish:  I was already using the height of
the formattedText in the same routine . . .

so
   the selectedLine is the number of lines of the formattedText of myTarget

should do it.



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



More information about the use-livecode mailing list