fakevim: disable completion on each keystroke.

This has bad interaction with '.' and ESC.
This commit is contained in:
hjk
2010-09-21 08:37:23 +02:00
parent 3d36ece27b
commit 3ba4812749
2 changed files with 184 additions and 2 deletions

View File

@@ -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;