Selecting text in non-focused field

Brian Milby brian at milby7.com
Mon Nov 19 16:56:05 EST 2018


Are you meaning that you need to highlight text found in another field?  Easiest way to describe what I’m referring to is the LC dictionary.  If you type a term in the search box, the matches are highlighted yellow where they are found (syntax and synonym fields).  Implementation would be completely different since the dictionary is coded in JavaScript.

But, if that is what you are needing, then setting the style of the found chunks should give what you need (subject to the potential issue of performance).

Thanks,
Brian
On Nov 19, 2018, 4:31 PM -0500, Kaveh Bazargan via use-livecode <use-livecode at lists.runrev.com>, wrote:
> Didn't know about foundChunk. Useful, thanks. :-)
>
> It is just one text field I am working on.
>
> On Mon, 19 Nov 2018 at 21:12, dunbarxx via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
> > Have you tried selecting the foundChunk?
> >
> > If you are going to write a routine that checks all the fields on a card
> > and
> > catalog them, you can avoid the standard "find" command, and roll your own.
> >
> > Craig
> >
> >
> >
> > --
> > Sent from:
> > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
> >
> > _______________________________________________
> > 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/>
> _______________________________________________
> 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