Turned off the syntax highlighter for objc keywords.

This commit is contained in:
Roberto Raggi
2009-11-11 16:46:33 +01:00
parent a1f9b05135
commit 3f3a36b728

View File

@@ -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);