get offset of current selection

Kaveh Bazargan kaveh at rivervalleytechnologies.com
Fri Dec 14 11:25:24 EST 2018


Correct. Thank you. :-)

On Fri, 14 Dec 2018 at 14:30, Tore Nilsen via use-livecode <
use-livecode at lists.runrev.com> wrote:

> 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
>
> _______________________________________________
> 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



-- 
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