I dont know if this is the best way or the right way to do it but I have done light syntax highlights by checking if the last Char entered was a space and if so I selected the word before the space and compared it to a list and if it was on the list I changed its color. It seems a dirty rough way of doing it. But It worked fine for what I did. A small program.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.