Find text, ensure visibility and select

Jul 25, 2011 at 11:31 PM

Hi,

first of all thanks for sharing !
I'm using the SyntaxHighlightbox and it suits me perfectly.
Now all I want to add to my app is "Find text" functionality.

Suppose I have a string, how would I find the first occurence in the Textbox, ensure it's visible on screen and make the found text the selection ?