forked from qt-creator/qt-creator
fakevim: don't expand collapsed code blocks when moving between lines
This commit is contained in:
@@ -314,6 +314,7 @@ bool FakeVimHandler::Private::handleEvent(QKeyEvent *ev)
|
||||
|
||||
// Fake "End of line"
|
||||
m_tc = EDITOR(textCursor());
|
||||
m_tc.setVisualNavigation(true);
|
||||
|
||||
if (m_fakeEnd)
|
||||
m_tc.movePosition(Right, MoveAnchor, 1);
|
||||
|
||||
Reference in New Issue
Block a user