forked from qt-creator/qt-creator
fakevim: Single command integrity (undo, redo, repeat)
Change-Id: I7e12092fd8928f34306a40b76a8ec7e6afe4a050 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -6464,12 +6464,9 @@ void FakeVimHandler::handleReplay(const QString &keys)
|
||||
|
||||
void FakeVimHandler::handleInput(const QString &keys)
|
||||
{
|
||||
Mode oldMode = d->m_mode;
|
||||
d->m_mode = CommandMode;
|
||||
Inputs inputs(keys);
|
||||
foreach (const Input &input, inputs)
|
||||
d->handleKey(input);
|
||||
d->m_mode = oldMode;
|
||||
}
|
||||
|
||||
void FakeVimHandler::setCurrentFileName(const QString &fileName)
|
||||
|
||||
Reference in New Issue
Block a user