<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:telesto@surfxs.nl" title="Telesto <telesto@surfxs.nl>"> <span class="fn">Telesto</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - UNDO Find and Replace leads to errors"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=140007">bug 140007</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">See Also</td>
<td>
</td>
<td>https://bugs.documentfoundation.org/show_bug.cgi?id=131912
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - UNDO Find and Replace leads to errors"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=140007#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - UNDO Find and Replace leads to errors"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=140007">bug 140007</a>
from <span class="vcard"><a class="email" href="mailto:telesto@surfxs.nl" title="Telesto <telesto@surfxs.nl>"> <span class="fn">Telesto</span></a>
</span></b>
<pre>Bisected to:
<a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED FIXED - EDITING: Image anchored "To Character" inside misspelled word is removed when word is corrected with Spell checking"
href="show_bug.cgi?id=131912">tdf#131912</a> sw: fix spell check correct deleting flys
* SwEditShell::ApplyChangedSentence() should not call
DeleteAndJoin() + InsertString() but ReplaceRange()
* ReplaceRange() and SwUndoReplace need to set a new flag
DelContentType::Replace to tell SwUndoSaveContent::DelContentIndex()
not to delete flys but instead record the previous anchor positions
* SwUndoReplace::UndoImpl() should also not call DeleteAndJoin()
+ InsertString(); instead call ReplaceRange() for the start node
and then DeleteAndJoin() for any regex "\n" that were inserted
(regression from 28b77c89dfcafae82cf2a6d85731b643ff9290e5)
Change-Id: I485d79510ae233213cb4b208533871934c5e5ec6
Reviewed-on: <a href="https://gerrit.libreoffice.org/c/core/+/96201">https://gerrit.libreoffice.org/c/core/+/96201</a>
Tested-by: Jenkins
Reviewed-by: Michael Stahl <<a href="mailto:michael.stahl@cib.de">michael.stahl@cib.de</a>>
(cherry picked from commit e1629c210ad78310e3d48c0756723134a27b89df)
Reviewed-on: <a href="https://gerrit.libreoffice.org/c/core/+/96204">https://gerrit.libreoffice.org/c/core/+/96204</a>
Reviewed-by: Caolán McNamara <<a href="mailto:caolanm@redhat.com">caolanm@redhat.com</a>>
<a href="https://git.libreoffice.org/core/+/d6b0e84b236b78f4b21bd16e46dda3fa0876096d">https://git.libreoffice.org/core/+/d6b0e84b236b78f4b21bd16e46dda3fa0876096d</a></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>