<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:sdc.blanco@youmail.dk" title="sdc.blanco@youmail.dk">sdc.blanco@youmail.dk</a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - Find/Replace applies the font attributes of the first character in the 'find' match to the entire replaced string - often with undesired effects, such as losing italic or bold direct formatting"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=62603">bug 62603</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;">Summary</td>
<td>Find/Replace affects formatting in undesired ways
</td>
<td>Find/Replace applies the font attributes of the first character in the 'find' match to the entire replaced string - often with undesired effects, such as losing italic or bold direct formatting
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>sdc.blanco@youmail.dk
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Find/Replace applies the font attributes of the first character in the 'find' match to the entire replaced string - often with undesired effects, such as losing italic or bold direct formatting"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=62603#c24">Comment # 24</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Find/Replace applies the font attributes of the first character in the 'find' match to the entire replaced string - often with undesired effects, such as losing italic or bold direct formatting"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=62603">bug 62603</a>
from <span class="vcard"><a class="email" href="mailto:sdc.blanco@youmail.dk" title="sdc.blanco@youmail.dk">sdc.blanco@youmail.dk</a>
</span></b>
<pre>repro by following procedure in <a href="show_bug.cgi?id=62603#c19">comment 19</a> and using <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=136821" name="attach_136821" title="Example file to reproduce the bug">attachment 136821</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=136821&action=edit" title="Example file to reproduce the bug">[details]</a></span>
Version: 7.2.0.0.alpha0+ (x64)
Build ID: 4041c68ea59181f1c4774c356809066d2051db41
CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: Skia/Vulkan; VCL: win
Additional information.
1. Continue using "find and replace" in attachment to see that 'W' in
'Whichever' is converted from regular to italic, as well as the spaces.
2. Start with new copy of <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=136821" name="attach_136821" title="Example file to reproduce the bug">attachment 136821</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=136821&action=edit" title="Example file to reproduce the bug">[details]</a></span>,
search with find: ? W
replace: ? W
Result: get same "effect" (i.e., entire replacement becomes italic)
3. Change font size of question mark to 28pt, repeat test, 'W' becomes 28pt.
on replacement.
4. In short: as noted already in <a href="show_bug.cgi?id=62603#c15">comment 15</a>, it appears that the font
attributes of the first matched character is applied to the entire replacement,
nothing to do with regex.
Have changed bug summary to be more accurate/informative....</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>