0

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.

Tyress
  • 3,573
  • 2
  • 22
  • 45
CSharpCrazy
  • 25
  • 1
  • 5

1 Answers1

1

ScintillaNET C# (eg: XML Editor)

 scintilla.Lexer = Lexer.Xml;    
 scintilla.Styles[Style.Default].ForeColor = Color.Blue;
Medo Medo
  • 952
  • 2
  • 12
  • 21
  • This is not a very useful answer. It would make absolutely no sense to someone who had the level of understanding of Scintilla that the asker evidently does. What are styles? What is a lexer? What do these properties do? "I ran this code and I still don't see blue text..." Good answers *explain* what is going on. If the question isn't worth a good answer, then don't bother answering it. – Cody Gray - on strike Feb 29 '16 at 06:19
  • the person who asked about Scintilla he knows what is scintilla and lexer and language and styles (CUZ HE IS USING IT) he asked a Q and I A. you can comment on me or advice but u can't down vote my answer as long as you didn't provide any answer. – Medo Medo Feb 29 '16 at 06:32
  • If he knew all of that and understood how it worked, he wouldn't have asked this question. – Cody Gray - on strike Feb 29 '16 at 06:33
  • no he shouldn't. thats y stackoverflow to help. he just need help in syntax coding. – Medo Medo Feb 29 '16 at 06:35