Skip to content
Snippets Groups Projects
Commit f6b644a8 authored by Franck Dary's avatar Franck Dary
Browse files

moveWordIndexRelaxed is skipping multiwords

parent e9fefaa3
No related branches found
No related tags found
No related merge requests found
......@@ -468,6 +468,8 @@ void Config::moveWordIndexRelaxed(int relativeMovement)
int dir = 1;
if (relativeMovement < 0)
dir = -1;
if (isMultiwordPredicted(wordIndex))
wordIndex += dir;
for (int i = 0; i < abs(relativeMovement); i++)
if (!moveWordIndex(dir))
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment