<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - EDITING: "Change all" fails to change earlier misspellings"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=46852#c13">Comment # 13</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - EDITING: "Change all" fails to change earlier misspellings"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=46852">bug 46852</a>
from <span class="vcard"><a class="email" href="mailto:luke@deller.id.au" title="Luke Deller <luke@deller.id.au>"> <span class="fn">Luke Deller</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>