From 2cf06b8285152e59f80a55bc99ce3fbe93f494c5 Mon Sep 17 00:00:00 2001 From: Leandro Melo Date: Tue, 31 May 2011 15:49:14 +0200 Subject: [PATCH] CMake editor: Use keywords scheme for functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Link color from inkpot still needs to be changed. This will be done in a following commit. Task-number: QTCREATORBUG-5037 Change-Id: Ia8a5203067761ff6622258fd16f2027667637583x Reviewed-on: http://codereview.qt.nokia.com/273 Reviewed-by: Thorbjørn Lindeijer (cherry picked from commit a3daedc7b70a9e4f4db1db38add119741179dbed) Reviewed-on: http://codereview.qt.nokia.com/392 Reviewed-by: Qt Sanity Bot Reviewed-by: hjk --- src/plugins/cmakeprojectmanager/cmakeeditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/cmakeprojectmanager/cmakeeditor.cpp b/src/plugins/cmakeprojectmanager/cmakeeditor.cpp index 67beed67234..570bfb84ef3 100644 --- a/src/plugins/cmakeprojectmanager/cmakeeditor.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeeditor.cpp @@ -110,7 +110,7 @@ void CMakeEditorWidget::setFontSettings(const TextEditor::FontSettings &fs) static QVector categories; if (categories.isEmpty()) { 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_STRING) << QLatin1String(TextEditor::Constants::C_VISUAL_WHITESPACE);