forked from qt-creator/qt-creator
VCS: Refactor createDiffHighlighter
All plugins do the same... Change-Id: I21e5a1d7507292add91199a3db75df74165b63b1 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
6dd8726a16
commit
725ecc5f91
@@ -51,8 +51,7 @@ class VCSBASE_EXPORT DiffHighlighter : public TextEditor::SyntaxHighlighter
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit DiffHighlighter(const QRegExp &filePattern,
|
||||
QTextDocument *document = 0);
|
||||
explicit DiffHighlighter(const QRegExp &filePattern);
|
||||
~DiffHighlighter();
|
||||
|
||||
void highlightBlock(const QString &text);
|
||||
|
||||
Reference in New Issue
Block a user