Skip to content

Commit

Permalink
Ensure both words resulting from separating a compound word are check…
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Mar 30, 2015
1 parent 683d775 commit 8c08a94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TextEditChecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ void TextEditChecker::slotCheckRange(int pos, int removed, int added)
c.setPosition(pos);
c.moveWordStart();
c.setPosition(pos + added, QTextCursor::KeepAnchor);
c.moveWordEnd(QTextCursor::KeepAnchor);
c.setCharFormat(QTextCharFormat());
checkSpelling(c.anchor(), c.position());
c.endEditBlock();
Expand Down

0 comments on commit 8c08a94

Please sign in to comment.