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
@@ -240,7 +240,7 @@ private:
|
||||
// Implement to identify a change number at the cursor position
|
||||
virtual QString changeUnderCursor(const QTextCursor &) const = 0;
|
||||
// Factory functions for highlighters
|
||||
virtual DiffHighlighter *createDiffHighlighter() const = 0;
|
||||
virtual QRegExp diffFilePattern() const = 0;
|
||||
virtual BaseAnnotationHighlighter *createAnnotationHighlighter(const QSet<QString> &changes,
|
||||
const QColor &bg) const = 0;
|
||||
// Implement to return a local file name from the diff file specification
|
||||
|
||||
Reference in New Issue
Block a user