forked from qt-creator/qt-creator
Changed categories used for pro file highlighting
Now reuses the colors set for Type and Keyword for the variables and functions respectively. Having the categories Variable and Function in the fonts and color settings was confusing.
This commit is contained in:
@@ -132,8 +132,8 @@ void ProFileEditor::setFontSettings(const TextEditor::FontSettings &fs)
|
||||
|
||||
static QVector<QString> categories;
|
||||
if (categories.isEmpty()) {
|
||||
categories << QLatin1String(TextEditor::Constants::C_VARIABLE)
|
||||
<< QLatin1String(TextEditor::Constants::C_FUNCTION)
|
||||
categories << QLatin1String(TextEditor::Constants::C_TYPE)
|
||||
<< QLatin1String(TextEditor::Constants::C_KEYWORD)
|
||||
<< QLatin1String(TextEditor::Constants::C_COMMENT);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user