forked from qt-creator/qt-creator
fakevim: handle editors that get removed during execution of a command
This commit is contained in:
@@ -1135,13 +1135,12 @@ EventResult FakeVimHandler::Private::handleEvent(QKeyEvent *ev)
|
||||
moveLeft();
|
||||
|
||||
//m_oldPosition = position();
|
||||
if (hasConfig(ConfigShowMarks))
|
||||
updateSelection();
|
||||
|
||||
exportSelection();
|
||||
}
|
||||
|
||||
if (hasConfig(ConfigShowMarks))
|
||||
updateSelection();
|
||||
|
||||
exportSelection();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user