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:
@@ -91,10 +91,6 @@ TextEditorSettings::TextEditorSettings(Internal::TextEditorPlugin *plugin,
|
||||
formatDescriptions.push_back(FormatDescription(QLatin1String(C_DIFF_FILE), tr("Diff File"), Qt::black));
|
||||
formatDescriptions.push_back(FormatDescription(QLatin1String(C_DIFF_LOCATION), tr("Diff Location"), Qt::green));
|
||||
|
||||
// Pro file categories
|
||||
formatDescriptions.push_back(FormatDescription(QLatin1String(C_VARIABLE), tr("Variable"), Qt::blue));
|
||||
formatDescriptions.push_back(FormatDescription(QLatin1String(C_FUNCTION), tr("Function"), Qt::green));
|
||||
|
||||
m_fontSettingsPage = new FontSettingsPage(formatDescriptions,
|
||||
QLatin1String("TextEditor"),
|
||||
tr("Text Editor"),
|
||||
|
||||
Reference in New Issue
Block a user