From 3f3a36b7285816b7cb7b5980fd8e4ed3a71ddbed Mon Sep 17 00:00:00 2001 From: Roberto Raggi <roberto.raggi@nokia.com> Date: Wed, 11 Nov 2009 16:46:33 +0100 Subject: [PATCH] Turned off the syntax highlighter for objc keywords. --- src/plugins/cppeditor/cpphighlighter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/cppeditor/cpphighlighter.cpp b/src/plugins/cppeditor/cpphighlighter.cpp index 00f307f7e0f..54050b97043 100644 --- a/src/plugins/cppeditor/cpphighlighter.cpp +++ b/src/plugins/cppeditor/cpphighlighter.cpp @@ -61,7 +61,7 @@ void CppHighlighter::highlightBlock(const QString &text) SimpleLexer tokenize; tokenize.setQtMocRunEnabled(false); - tokenize.setObjCEnabled(true); + tokenize.setObjCEnabled(false); int initialState = state; const QList<SimpleToken> tokens = tokenize(text, initialState); -- GitLab