[Libreoffice-bugs] [Bug 46852] EDITING: "Change all" fails to change earlier misspellings
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 13 15:32:58 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=46852
--- Comment #13 from Luke Deller <luke at deller.id.au> ---
I can still reproduce the same behaviour:
Ubuntu 16.04
version 6.0.0.0.alpha0+ (built from git commit e333183d)
I did some investigation in a debugger, and found the problem:
at step 3: the spellcheck starting position (beginning of line 4) is recorded
in a bookmark (inside an XTextRange object)
at step 4: the word "frogg" at that position is deleted (before inserting the
correction "frog"). This causes the bookmark to be deleted because it is
referring to a deleted position.
at step 5: spellcheck from the beginning of the document to the starting
position is skipped because the spellcheck starting position has been lost
Notice that if line 4 starts with a correct word, e.g.
"happy frogg frogg"
then the problem does not occur, this is because the starting character of that
line is not deleted during the spellcheck corrections.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170713/c1ad263f/attachment.html>
More information about the Libreoffice-bugs
mailing list