How to change Font's ForeColor in ScintillaNet?

2k Views Asked by At

I want to Change Scintilla Net Text Editor's Font Fore color to Black in C#.Net. i changed like in C# font color. But it doesn't work. How can i do that? Is that change in Styles? Please Please....answer me..i am having difficult. Thanks you for your time. Have a nice day.

1

There are 1 best solutions below

4
On

ScintillaNET C# (eg: XML Editor)

 scintilla.Lexer = Lexer.Xml;    
 scintilla.Styles[Style.Default].ForeColor = Color.Blue;