determining if cursor is in last line of a field
Dr. Hawkins
dochawk at gmail.com
Thu Sep 19 11:18:37 EDT 2013
On Thu, Sep 19, 2013 at 1:08 AM, Mark Schonewille <
m.schonewille at economy-x-talk.com> wrote:
> Probably, that won't do it. Try this:
>
> put (number of lines of the formattedText of \
> char 1 to (word 2 of the selectedChunk) of myTarget) is \
> (the number of lines of the formattedText of myTarget)
> --> true|false
>
Now I'm confused: does selectedLine() use hard cr's instead of the
displayed line in the field? I had been assuming the latter due to the
lack of mention of cr in the dictionary page, as it gets mentioned in
others where it is used.
--
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
More information about the use-livecode
mailing list