fakevim: trigger autocompletion on '.' and '>'

This commit is contained in:
hjk
2009-03-25 13:31:30 +01:00
parent f812780e30
commit 530967ea22
3 changed files with 16 additions and 0 deletions

View File

@@ -1512,6 +1512,9 @@ EventResult FakeVimHandler::Private::handleInsertMode(int key, int,
if (leftText.simplified().isEmpty())
indentRegion(text.at(0));
}
if (text.at(0) == '.' || text.at(0) == '>')
emit q->completionRequested();
} else {
return EventUnhandled;
}