Hi:
I was trying to find the required text in richtextBox, just like the find function in the office.
I've used indexof(), but it was not fitting the exact text, if the word in richtextBox is longer than the searching text, it also returns.
and I don't know how to search the whole content in richtextBox, it always stopped when found the first fitted text and how to hightlight the matched texts or set colors to them?
Thank you!