forked from qt-creator/qt-creator
Forked QSyntaxHighlighter from Qt 4.7.
We need our very own syntax highlighter in Qt Creator.
This commit is contained in:
@@ -88,7 +88,7 @@ DiffFormats DiffHighlighterPrivate::analyzeLine(const QString &text) const
|
||||
// --- DiffHighlighter
|
||||
DiffHighlighter::DiffHighlighter(const QRegExp &filePattern,
|
||||
QTextDocument *document) :
|
||||
QSyntaxHighlighter(document),
|
||||
TextEditor::SyntaxHighlighter(document),
|
||||
m_d(new DiffHighlighterPrivate(filePattern))
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user