Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
0d67d78a
Commit
0d67d78a
authored
Apr 29, 2010
by
hjk
Browse files
fakevim: adjust tests to use 'iskeyword'
parent
26965d20
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/auto/fakevim/main.cpp
View file @
0d67d78a
...
...
@@ -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
)
...
...
tests/manual/fakevim/main.cpp
View file @
0d67d78a
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment