Skip to content

Commit

Permalink
Fixed|Widgets: Jumping words in line editor
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 2, 2019
1 parent a11a985 commit 9310b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/libs/core/src/widgets/abstractlineeditor.cpp
Expand Up @@ -248,7 +248,7 @@ DE_PIMPL(AbstractLineEditor)
while (iter.pos() > 0 && !(*iter).isAlphaNumeric()) { --iter; }

// At least move one character.
if (iter.pos() > 0) --pos;
if (iter.pos() > 0) --iter;

// We're inside a word, jump to its beginning.
while (iter.pos() > 0 && (*(iter - 1)).isAlphaNumeric()) { --iter; }
Expand Down

0 comments on commit 9310b72

Please sign in to comment.