diff options
author | David Schulz <david.schulz@qt.io> | 2017-05-23 14:34:22 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2017-06-15 09:24:07 +0000 |
commit | 2b83869236d08b8e635c94c99095630d9a12130e (patch) | |
tree | 7f9aee52a8bf304b473aeeb328ef247893a81ba3 /src/plugins/cppeditor | |
parent | 752662e478d1cd8594993b1dc7915ec2dfc6ff50 (diff) | |
download | qt-creator-2b83869236d08b8e635c94c99095630d9a12130e.tar.gz |
TextEditor: Animate navigation within file
Change-Id: I490d70a785c947cd41809503e15a317152126641
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/cppeditor')
-rw-r--r-- | src/plugins/cppeditor/cppoutline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cppoutline.cpp b/src/plugins/cppeditor/cppoutline.cpp index 3b1209c1c8..def7d11a6e 100644 --- a/src/plugins/cppeditor/cppoutline.cpp +++ b/src/plugins/cppeditor/cppoutline.cpp @@ -173,7 +173,7 @@ void CppOutlineWidget::updateTextCursor(const QModelIndex &proxyIndex) Core::EditorManager::addCurrentPositionToNavigationHistory(); // line has to be 1 based, column 0 based! - m_editor->gotoLine(symbol->line(), symbol->column() - 1); + m_editor->gotoLine(symbol->line(), symbol->column() - 1, true, true); m_blockCursorSync = false; } } |