Forked QSyntaxHighlighter from Qt 4.7.

We need our very own syntax highlighter in Qt Creator.
This commit is contained in:
Roberto Raggi
2010-07-09 14:47:18 +02:00
parent 32993f460a
commit 8acde74d79
21 changed files with 806 additions and 24 deletions

View File

@@ -39,7 +39,7 @@ using namespace QmlJSEditor;
using namespace QmlJS;
Highlighter::Highlighter(QTextDocument *parent)
: QSyntaxHighlighter(parent),
: TextEditor::SyntaxHighlighter(parent),
m_qmlEnabled(true),
m_inMultilineComment(false)
{