Commit 5e7a27db authored by Nikolai Kosjar's avatar Nikolai Kosjar
Browse files

CppTools: Fix highlighting of ui_*.h files

Editor revisions start with 1, not 0.

There are some more problems in that area which are not addressed by
this patch. E.g. the synchronization of the AbstractEditorSupport
revision and the QTextDocument revision.

Task-number: QTCREATORBUG-11774
Change-Id: I4b0f41b2436ecedcd10dc0e3e39e5f185f990e05
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <>
Reviewed-by: default avatarErik Verbruggen <>
parent f5705459
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
namespace CppTools { namespace CppTools {
AbstractEditorSupport::AbstractEditorSupport(CppModelManagerInterface *modelmanager) : AbstractEditorSupport::AbstractEditorSupport(CppModelManagerInterface *modelmanager) :
m_modelmanager(modelmanager), m_revision(0) m_modelmanager(modelmanager), m_revision(1)
{ {
} }
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