forked from qt-creator/qt-creator
VCS: Highlight log with diff
Change-Id: I46abd51e5764571138c54df81cc3adbeadb26840 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
8d9710c074
commit
64018aed8a
@@ -257,6 +257,11 @@ protected:
|
||||
virtual bool isValidRevision(const QString &revision) const;
|
||||
|
||||
private:
|
||||
// Indicates if the editor has diff contents. If true, an appropriate
|
||||
// highlighter is used and double-click inside a diff chunk jumps to
|
||||
// the relevant file and line
|
||||
bool hasDiff() const;
|
||||
|
||||
// cut out chunk and determine file name.
|
||||
DiffChunk diffChunk(QTextCursor cursor) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user