forked from qt-creator/qt-creator
fakevim: work on 'dumb' completion
This commit is contained in:
@@ -266,10 +266,13 @@ QDebug operator<<(QDebug ts, const Register ®)
|
||||
|
||||
struct SearchData
|
||||
{
|
||||
SearchData() { init(); }
|
||||
|
||||
void init() { forward = true; mustMove = true; highlightMatches = true;
|
||||
highlightCursor = true; }
|
||||
SearchData()
|
||||
{
|
||||
forward = true;
|
||||
mustMove = true;
|
||||
highlightMatches = true;
|
||||
highlightCursor = true;
|
||||
}
|
||||
|
||||
QString needle;
|
||||
bool forward;
|
||||
@@ -4910,6 +4913,11 @@ void FakeVimHandler::handleCommand(const QString &cmd)
|
||||
d->handleCommand(cmd);
|
||||
}
|
||||
|
||||
void FakeVimHandler::handleReplay(const QString &keys)
|
||||
{
|
||||
d->replay(keys, 1);
|
||||
}
|
||||
|
||||
void FakeVimHandler::setCurrentFileName(const QString &fileName)
|
||||
{
|
||||
d->m_currentFileName = fileName;
|
||||
|
||||
Reference in New Issue
Block a user