Syntax highliter and intelisense

Oct 7 2008 2:15 AM

So, I have a huge project. I want to make an ide with syntax highliting.

1. I want to have comands highlited.

rtb change event, I want to compare the words with a text file of commands. I think that I should regex the contents of the rtb into words, and then regex the text file into words, higlight matches, but many commands are mult- word. so what do I do?

2.  I want to detect the current word being typed for intelisense like purposes, and the word under the mouse.

I would apreciate any help,

thank you