Fixes: fakevim: return to command mode after :<line>

This commit is contained in:
hjk
2009-03-04 16:12:06 +01:00
parent 2da336a966
commit da92e9c1e9

View File

@@ -1520,6 +1520,7 @@ void FakeVimHandler::Private::handleExCommand(const QString &cmd0)
if (cmd.isEmpty()) {
m_tc.setPosition(firstPositionInLine(beginLine));
showBlackMessage(QString());
enterCommandMode();
} else if (cmd == "q!" || cmd == "q") { // :q
quit();
} else if (reDelete.indexIn(cmd) != -1) { // :d