forked from qt-creator/qt-creator
fakevim: adjust tests to use 'iskeyword'
This commit is contained in:
@@ -204,6 +204,8 @@ void tst_FakeVim::setup()
|
||||
this, SLOT(changeStatusData(QString)));
|
||||
|
||||
QCOMPARE(EDITOR(toPlainText()), lines);
|
||||
|
||||
sendEx("set iskeyword=@,48-57,_,192-255,a-z,A-Z");
|
||||
}
|
||||
|
||||
void tst_FakeVim::sendEx(const QString &command)
|
||||
|
||||
@@ -122,6 +122,7 @@ int main(int argc, char *argv[])
|
||||
theFakeVimSetting(ConfigShiftWidth)->setValue(8);
|
||||
theFakeVimSetting(ConfigTabStop)->setValue(8);
|
||||
theFakeVimSetting(ConfigAutoIndent)->setValue(true);
|
||||
theFakeVimSetting(ConfigIsKeyword)->setValue("@,48-57,_,192-255,a-z,A-Z");
|
||||
|
||||
handler.installEventFilter();
|
||||
handler.setupWidget();
|
||||
|
||||
Reference in New Issue
Block a user