Fixed a few typos and bugs in the ObjC++ support.

This commit is contained in:
Roberto Raggi
2009-07-13 12:05:29 +02:00
parent a446e06742
commit 1eefd16383
6 changed files with 12 additions and 6 deletions

View File

@@ -157,7 +157,7 @@ void CppHighlighter::highlightBlock(const QString &text)
initialState = 0;
}
} else if (tk.isKeyword() || isQtKeyword(tk.text()))
} else if (tk.isKeyword() || isQtKeyword(tk.text()) || tk.isObjCAtKeyword())
setFormat(tk.position(), tk.length(), m_formats[CppKeywordFormat]);
else if (tk.isOperator())