forked from qt-creator/qt-creator
DiffEditorPlugin: Add SideBySideDiffOutput
Move generation of SideDiffData into static diffOutput() method. Change-Id: Ie38b3e09dd8222e0219fdfb345bc7cf4a39f6e21 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -12,6 +12,7 @@ class DiffSelection
|
||||
{
|
||||
public:
|
||||
DiffSelection() = default;
|
||||
// TODO: remove this constructors and make format the first field of this class
|
||||
DiffSelection(QTextCharFormat *f) : format(f) {}
|
||||
DiffSelection(int s, int e, QTextCharFormat *f) : start(s), end(e), format(f) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user