get offset of current selection

Kaveh Bazargan kaveh at rivervalleytechnologies.com
Fri Dec 14 09:28:02 EST 2018


I am stuck on something that should be simple. User has selected a text,
say a word in a field. How do I get the offset of the start and end of
selection? (Not any matching text, but the particular chars selected.)

I know I am going to be embarrassed at the reply. :-\

-- 
Kaveh Bazargan
Director
River Valley Technologies <http://rivervalleytechnologies.com/> • Twitter
<https://twitter.com/kaveh1000> • LinkedIn
<https://www.linkedin.com/in/bazargankaveh/>



More information about the use-livecode mailing list