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); }
public void StyleSetBold(Scintilla.Lexers.Cpp syntaxType, bool bold) { this.SendMessageDirect(2053, (int)syntaxType, bold); }
public void StyleSetBack(Scintilla.Lexers.Cpp syntaxType, Color value) { this.SendMessageDirect(2052, (int)syntaxType, Utilities.ColorToRgb(value)); }