forked from qt-creator/qt-creator
Implement expanding / shrinking skipped lines
Change-Id: I6921b7a39288f6a9747574b1a8e75d571f4723ce Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -124,6 +124,8 @@ protected:
|
||||
private slots:
|
||||
void leftSliderChanged();
|
||||
void rightSliderChanged();
|
||||
void leftDocumentSizeChanged();
|
||||
void rightDocumentSizeChanged();
|
||||
|
||||
private:
|
||||
bool isWhitespace(const QChar &c) const;
|
||||
@@ -136,6 +138,7 @@ private:
|
||||
ChunkData calculateOriginalData(const QList<Diff> &diffList) const;
|
||||
FileData calculateContextData(const ChunkData &originalData) const;
|
||||
void showDiff();
|
||||
void synchronizeFoldings(DiffViewEditorWidget *source, DiffViewEditorWidget *destination);
|
||||
|
||||
DiffViewEditorWidget *m_leftEditor;
|
||||
DiffViewEditorWidget *m_rightEditor;
|
||||
@@ -147,6 +150,8 @@ private:
|
||||
|
||||
ChunkData m_originalChunkData;
|
||||
FileData m_contextFileData;
|
||||
|
||||
bool m_foldingBlocker;
|
||||
};
|
||||
|
||||
} // namespace DiffEditor
|
||||
|
||||
Reference in New Issue
Block a user