Possible Duplicate:
C# How can I set the color of text in a richtextbox?
In Visual C#.NET, I want to change the color of specific text when it is typed in to a rich text box.
For example, I might want to color the world “hi”, so when the user is typing in the rich text box, if they type “hi” it would change colors and the word “hi” would be a different color from all the other text in the rich text box.
How would I do that? Is there a better way to do that, not in a rich textbox?
in your TextChanged Event handler