forked from qt-creator/qt-creator
Git: Scroll to active file on Show invoked from file log
Change-Id: I0935bf8b8b30ee78716a14ee0a88c21b9caf62dc Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
f735c8da45
commit
d8d7acbe75
@@ -100,9 +100,10 @@ DiffEditorController *DiffEditorController::controller(Core::IDocument *document
|
||||
}
|
||||
|
||||
void DiffEditorController::setDiffFiles(const QList<FileData> &diffFileList,
|
||||
const QString &workingDirectory)
|
||||
const QString &workingDirectory,
|
||||
const QString &startupFile)
|
||||
{
|
||||
m_document->setDiffFiles(diffFileList, workingDirectory);
|
||||
m_document->setDiffFiles(diffFileList, workingDirectory, startupFile);
|
||||
}
|
||||
|
||||
void DiffEditorController::setDescription(const QString &description)
|
||||
@@ -169,6 +170,11 @@ void DiffEditorController::forceContextLineCount(int lines)
|
||||
m_document->forceContextLineCount(lines);
|
||||
}
|
||||
|
||||
Core::IDocument *DiffEditorController::document() const
|
||||
{
|
||||
return m_document;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Request the diff data to be re-read.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user