Commit a3daedc7 authored by Leandro Melo's avatar Leandro Melo Committed by Leandro T. C. Melo
Browse files

CMake editor: Use keywords scheme for functions

The Link color from inkpot still needs to be changed.
This will be done in a following commit.

Task-number: QTCREATORBUG-5037
Change-Id: Ia8a5203067761ff6622258fd16f2027667637583
Reviewed-on: http://codereview.qt.nokia.com/273


Reviewed-by: default avatarThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
parent 189058ea
...@@ -130,7 +130,7 @@ void CMakeEditorWidget::setFontSettings(const TextEditor::FontSettings &fs) ...@@ -130,7 +130,7 @@ void CMakeEditorWidget::setFontSettings(const TextEditor::FontSettings &fs)
static QVector<QString> categories; static QVector<QString> categories;
if (categories.isEmpty()) { if (categories.isEmpty()) {
categories << QLatin1String(TextEditor::Constants::C_LABEL) // variables categories << QLatin1String(TextEditor::Constants::C_LABEL) // variables
<< QLatin1String(TextEditor::Constants::C_LINK) // functions << QLatin1String(TextEditor::Constants::C_KEYWORD) // functions
<< QLatin1String(TextEditor::Constants::C_COMMENT) << QLatin1String(TextEditor::Constants::C_COMMENT)
<< QLatin1String(TextEditor::Constants::C_STRING) << QLatin1String(TextEditor::Constants::C_STRING)
<< QLatin1String(TextEditor::Constants::C_VISUAL_WHITESPACE); << QLatin1String(TextEditor::Constants::C_VISUAL_WHITESPACE);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment