Commit 3f3a36b7 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Turned off the syntax highlighter for objc keywords.

parent a1f9b051
...@@ -61,7 +61,7 @@ void CppHighlighter::highlightBlock(const QString &text) ...@@ -61,7 +61,7 @@ void CppHighlighter::highlightBlock(const QString &text)
SimpleLexer tokenize; SimpleLexer tokenize;
tokenize.setQtMocRunEnabled(false); tokenize.setQtMocRunEnabled(false);
tokenize.setObjCEnabled(true); tokenize.setObjCEnabled(false);
int initialState = state; int initialState = state;
const QList<SimpleToken> tokens = tokenize(text, initialState); const QList<SimpleToken> tokens = tokenize(text, initialState);
......
Markdown is supported
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