Page 1 of 1

Find text in EditorGadget

Posted: Thu Dec 10, 2009 7:22 pm
by yabune
Hi,

Is it possible to have a Find function for text (like in Notepad) for an editorgadget?

Would I have to get the text of the editor gadget and use the string functions?

And how can I highlight the found words?

Thanks!

Re: Find text in EditorGadget

Posted: Thu Dec 10, 2009 8:27 pm
by utopiomania
There's an example in this code and many other places here, search the forums.

Re: Find text in EditorGadget

Posted: Thu Dec 10, 2009 9:08 pm
by yabune
utopiomania wrote:There's an example in this code and many other places here, search the forums.
Thanks!

I did search the forum, but I was searching for this find feature, and the search functionality of the forum filter the "find" word.