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
Marco Bubke
flatpak-qt-creator
Commits
1e9214e1
Commit
1e9214e1
authored
Dec 25, 2008
by
hjk
Committed by
Roberto Raggi
Dec 29, 2008
Browse files
fix off-by-one for 'w'
parent
4d6b2905
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/handler.cpp
View file @
1e9214e1
...
...
@@ -609,7 +609,7 @@ void FakeVimHandler::Private::moveToNextWord(int repeat, bool simple)
int
thisClass
=
charClass
(
c
,
simple
);
if
(
thisClass
!=
lastClass
&&
thisClass
!=
0
)
--
repeat
;
if
(
repeat
==
-
1
)
if
(
repeat
==
0
)
break
;
lastClass
=
thisClass
;
m_tc
.
movePosition
(
Right
,
KeepAnchor
,
1
);
...
...
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