https://bugs.documentfoundation.org/show_bug.cgi?id=107857
--- Comment #11 from Regina Henschel <rb.henschel@t-online.de> ---
Heiko: I see it different. Perhaps the problem is clearer, if I describe it
with markup, although that is not the internal representation:
The text has the form
<text:p text:style-name="Standard"><text:span text:style-name="myRed">R
</text:span><text:span text:style-name="myGreen">G </text:span><text:span
text:style-name="myBlue">B </text:span></text:p>
Now I select the G and press key g.
Expected: G has been replaced with g
<text:p text:style-name="Standard"><text:span text:style-name="myRed">R
</text:span><text:span text:style-name="myGreen">g </text:span><text:span
text:style-name="myBlue">B </text:span></text:p>
But I get
<text:p text:style-name="Standard"><text:span text:style-name="myRed">R
g</text:span><text:span text:style-name="myGreen"> </text:span><text:span
text:style-name="myBlue">B </text:span></text:p>
It seems, that LO does a "delete" followed by an "insert" instead of a true
"replace". For an "insert" it is the correct behavior to continue the style of
the previous character, but here a "replace" is intended and the undo names it
"Replace". To get what you want, you have to insert the g after the G and then
go back and delete the G.
--
You are receiving this mail because:
You are on the CC list for the bug.
Context
- [Libreoffice-ux-advise] [Bug 107857] Incorrect Formatting Logic · bugzilla-daemon
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.