I have a RichTextBox with -by example- this text:
"This is my Text"
Now I want to “search” the RichTextBox for a Text (String), by example:
"Text"
Now “Text” should be selected/highlighted (for each one) in the RichTextBox..
There is something like:
myRichTextBox.Select();
but here I have to set a StartPosition and so on, but I want to search for String!
How could I do this? (Searched stackoverflow, didn’t find something similiar..)
CheckOut this article if you dont understand this code…
http://www.dotnetcurry.com/ShowArticle.aspx?ID=146