'How to change Font's ForeColor in ScintillaNet?

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.



Solution 1:[1]

ScintillaNET C# (eg: XML Editor)

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1