forked from qt-creator/qt-creator
fakevim: update state after pressing <Return>
This commit is contained in:
@@ -648,6 +648,7 @@ bool FakeVimHandler::Private::handleCommandMode(int key, const QString &text)
|
|||||||
} else if (key == Key_Return) {
|
} else if (key == Key_Return) {
|
||||||
m_tc.movePosition(StartOfLine);
|
m_tc.movePosition(StartOfLine);
|
||||||
m_tc.movePosition(Down);
|
m_tc.movePosition(Down);
|
||||||
|
finishMovement();
|
||||||
} else if (key == Key_Home) {
|
} else if (key == Key_Home) {
|
||||||
m_tc.movePosition(StartOfLine, KeepAnchor);
|
m_tc.movePosition(StartOfLine, KeepAnchor);
|
||||||
finishMovement();
|
finishMovement();
|
||||||
|
|||||||
Reference in New Issue
Block a user