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);
35 case DoubleQuotedFString:
36 case SingleQuotedFString:
37 return QColor(0x00, 0xaa, 0x00);
40 return QColor(0x00, 0x00, 0xff);
42 case TripleSingleQuotedString:
43 case TripleDoubleQuotedString:
44 return QColor(0x00, 0xaa, 0x00);
46 case TripleSingleQuotedFString:
47 case TripleDoubleQuotedFString:
48 return QColor(0x00, 0xaa, 0x00);
51 return QColor(0x00, 0x00, 0x00);
53 case FunctionMethodName:
54 return QColor(0x00, 0x7f, 0x7f);
61 return QColor(0xad, 0xad, 0xad);
64 return QColor(0x00, 0x00, 0x00);
66 case HighlightedIdentifier:
67 return QColor(0x40, 0x70, 0x90);
70 return QColor(0x80, 0x50, 0x00);
73 return QsciLexer::defaultColor(style);
94 const char *defaultKeywords = QsciLexerPython::keywords(1);
95 static std::string combinedKeywords;
96 std::ostringstream stream;
99 combinedKeywords = stream.str();
100 return combinedKeywords.c_str();
103 return QsciLexerPython::keywords(set);