forked from qt-creator/qt-creator
fakevim: disable completion on each keystroke.
This has bad interaction with '.' and ESC.
This commit is contained in:
@@ -4799,8 +4799,8 @@ bool FakeVimHandler::eventFilter(QObject *ob, QEvent *ev)
|
||||
QKeyEvent *kev = static_cast<QKeyEvent *>(ev);
|
||||
KEY_DEBUG("KEYPRESS" << kev->key() << kev->text() << QChar(kev->key()));
|
||||
EventResult res = d->handleEvent(kev);
|
||||
if (d->m_mode == InsertMode)
|
||||
emit completionRequested();
|
||||
//if (d->m_mode == InsertMode)
|
||||
// emit completionRequested();
|
||||
// returning false core the app see it
|
||||
//KEY_DEBUG("HANDLED CODE:" << res);
|
||||
//return res != EventPassedToCore;
|
||||
|
||||
Reference in New Issue
Block a user