Hi everybody, I am here because I am creating a code editor in C#.net and I want to add syntal highlighting to it like a dreamweaver or visual studio just from a xml file like thing... I am working with visual studio 2008 pro edition. I want to add it to a rich textbox by the way.

Example of xml file


 
  html
  blue
 

 
  head
  green
 
 

 

Thanks in advance.