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

@@ -31,7 +31,7 @@
#define BASEANNOTATIONHIGHLIGHTER_H
#include "vcsbase_global.h"
#include <texteditor/syntaxhighlighter.h>
#include <QtCore/QMap>
#include <QtCore/QSet>
#include <QtGui/QSyntaxHighlighter>
@@ -47,7 +47,7 @@ struct BaseAnnotationHighlighterPrivate;
// 112: text1 <color 1>
// 113: text2 <color 2>
// 112: text3 <color 1>
class VCSBASE_EXPORT BaseAnnotationHighlighter : public QSyntaxHighlighter
class VCSBASE_EXPORT BaseAnnotationHighlighter : public TextEditor::SyntaxHighlighter
{
Q_OBJECT
public: