23 return QColor(0x00, 0x00, 0x00);
26 return QColor(0xad, 0xad, 0xad);
29 return QColor(0x80, 0x00, 0x00);
31 case DoubleQuotedString:
32 case SingleQuotedString:
33 return QColor(0x00, 0xaa, 0x00);
36 return QColor(0x00, 0x00, 0xff);
38 case TripleSingleQuotedString:
39 case TripleDoubleQuotedString:
40 return QColor(0x00, 0xaa, 0x00);
43 return QColor(0x00, 0x00, 0x00);
45 case FunctionMethodName:
46 return QColor(0x00, 0x7f, 0x7f);
53 return QColor(0xad, 0xad, 0xad);
56 return QColor(0x00, 0x00, 0x00);
58 case HighlightedIdentifier:
59 return QColor(0x40, 0x70, 0x90);
62 return QColor(0x80, 0x50, 0x00);
65 return QsciLexer::defaultColor(style);
QColor defaultColor(int style) const override
Returns the foreground colour of the text for a style.
AlternateCSPythonLexer(const QFont &font)
Construct a lexer with a font to be used for all text styles.
QFont defaultFont(int style) const override
Returns the font of the text.