How do I syntax highlight in a richtextbox control AS THE USER TYPES and USING A String[] keywords. I will be publishing a lightweight notepad to the web soon
You can change the font of selected words in the richtextbox. Take a look at the Select and SelectedFont properties of the control.
But essentially, you need to iterate through the words, check if a word is present in your keywords, and then change the font, using the above-mentioned properties.