C# Syntax Highlighting?
-
I would like to write a simple syntax highlighter for one of my c# applications but i cant seem to find any examples on how to do this. My current plans are to use a richtextbox and somehow do the highlighting in this but i cant find any examples of how to use a richtextbox for something similar. Does anyone know of any c# examples of syntax highlighters or if not any code snippets that might help me in writing one? Thanks Tim
-
I would like to write a simple syntax highlighter for one of my c# applications but i cant seem to find any examples on how to do this. My current plans are to use a richtextbox and somehow do the highlighting in this but i cant find any examples of how to use a richtextbox for something similar. Does anyone know of any c# examples of syntax highlighters or if not any code snippets that might help me in writing one? Thanks Tim
-
You may want to take a look at the source code for SharpDevelop (an open source .Net IDE) here: http://icsharpcode.net/OpenSource/SD/Default.aspx[^]