Exemple #1
0
 public void SetStyle(Scintilla.Lexers.Cpp style, Color fore, Color back, bool bold, bool italic, string font, int fontSize)
 {
     StyleSetFore(style, fore);
     StyleSetBack(style, back);
     StyleSetBold(style, bold);
     StyleSetItalic(style, italic);
     StyleSetFont((int)style, font);
     StyleSetFontSize((int)style, fontSize);
 }
Exemple #2
0
 public void StyleSetBold(Scintilla.Lexers.Cpp syntaxType, bool bold)
 {
     this.SendMessageDirect(2053, (int)syntaxType, bold);
 }
Exemple #3
0
 public void StyleSetBack(Scintilla.Lexers.Cpp syntaxType, Color value)
 {
     this.SendMessageDirect(2052, (int)syntaxType, Utilities.ColorToRgb(value));
 }