determining if cursor is in last line of a field

Mark Schonewille m.schonewille at economy-x-talk.com
Thu Sep 19 11:24:45 EDT 2013


Hi Richard,

The selectedLine counts the number of hard returns. Just try it.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 9/19/2013 17:18, Dr. Hawkins wrote:
>
> 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.
>




More information about the use-livecode mailing list