forked from qt-creator/qt-creator
Add DiffEditorManager, refactoring.
GitDiffSwitcher operates now on IDocument. GitDiffHandler operates now on DiffEditorController. "source" property now attached to editor's document (VcsBasePlugin). Change-Id: Ie2570a597b8b992ac1dc33b9179eca459c8a751a Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
This commit is contained in:
@@ -110,7 +110,8 @@ void DiffEditorController::clear(const QString &message)
|
||||
emit cleared(message);
|
||||
}
|
||||
|
||||
void DiffEditorController::setDiffContents(const QList<DiffFilesContents> &diffFileList, const QString &workingDirectory)
|
||||
void DiffEditorController::setDiffContents(const QList<DiffFilesContents> &diffFileList,
|
||||
const QString &workingDirectory)
|
||||
{
|
||||
m_diffFileList = diffFileList;
|
||||
m_workingDirectory = workingDirectory;
|
||||
@@ -188,8 +189,3 @@ void DiffEditorController::setCurrentDiffFileIndex(int diffFileIndex)
|
||||
}
|
||||
|
||||
} // namespace DiffEditor
|
||||
|
||||
//QTextCodec *DiffEditorWidget::codec() const
|
||||
//{
|
||||
//}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user