get offset of current selection

Tore Nilsen tore.nilsen at me.com
Fri Dec 14 09:29:57 EST 2018


The selectedChunk is probably what you are looking for.

Regards
Tore Nilsen






> 14. des. 2018 kl. 15:28 skrev Kaveh Bazargan via use-livecode <use-livecode at lists.runrev.com>:
> 
> 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/>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list