ICSharpCode.TextEditor - Change syntax colors

I am using ICSharpCode.TextEditor and want to change the syntax colors ... in the namespace

ICSharpCode.TextEditor.Document 

exist

 public class HighlightColor 

but I don’t know how to give new colors to the editor. Is there anyone who knows how to do this or where can I find documentation for this editor?

Thanks.

+4
source share
1 answer

Syntax highlighting in ICSharpCode.TextEditor is determined by the syntax highlighting definition (.xshd file) used for highlighting.

See http://wiki.sharpdevelop.net/Syntax highlighting.ashx for a description of the file format and how to load it into a text editor.

If you download SharpDevelop source code, you can find existing highlight definitions in SharpDevelop \ src \ Libraries \ ICSharpCode.TextEditor \ Project \ Resources.

+5
source

All Articles