0
Answer

C#.net syntax highlight content in Xml

taylor brazelton

taylor brazelton

16y
5.9k
1

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

<syntax>
 <sn>
  <txt>html</txt>
  <color>blue</color>
 </sn>
 <sn>
  <txt>head</txt>
  <color>green</color>
 </sn> 
</syntax>

 

Thanks in advance.