diff options
author | Eike Ziller <eike.ziller@digia.com> | 2013-05-30 17:26:51 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2013-06-03 09:33:06 +0200 |
commit | 2125525e775de909a181cb7f6cfa18200722f230 (patch) | |
tree | c496f1a7871bf16edfb2e1bc202071b9cb4ec87c /src/plugins/texteditor/refactoringchanges.cpp | |
parent | 97ce8e4098fbfcfaac26e50a6ed3a9fc0eaa3e76 (diff) | |
download | qt-creator-2125525e775de909a181cb7f6cfa18200722f230.tar.gz |
Move openEditorAt from BaseTextEditorWidget to EditorManager
More sensible place, gotoLine is a method in IEditor anyhow.
Change-Id: I420a6bf17060c16e6f1a4f45e0bef89379fb6bf8
Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/texteditor/refactoringchanges.cpp')
-rw-r--r-- | src/plugins/texteditor/refactoringchanges.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/texteditor/refactoringchanges.cpp b/src/plugins/texteditor/refactoringchanges.cpp index f5638ae600..8ca3a3cc8d 100644 --- a/src/plugins/texteditor/refactoringchanges.cpp +++ b/src/plugins/texteditor/refactoringchanges.cpp @@ -141,7 +141,7 @@ BaseTextEditorWidget *RefactoringChanges::openEditor(const QString &fileName, bo // openEditorAt uses a 1-based line and a 0-based column! column -= 1; } - Core::IEditor *editor = BaseTextEditorWidget::openEditorAt( + Core::IEditor *editor = Core::EditorManager::openEditorAt( fileName, line, column, Core::Id(), flags); if (editor) |