forked from qt-creator/qt-creator
Turned off the syntax highlighter for objc keywords.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user