https://bugs.documentfoundation.org/show_bug.cgi?id=88990
--- Comment #3 from V Stuart Foote <vstuart.foote@utsa.edu> ---
(In reply to Bryant from comment #2)
As for 1, it sounds like we're in agreement but "undoing" should entail
restoring the previous highlighting choice.
Highlighting is normally applied as direct formatting against the style
(usually "default") so there would be nothing "previous" to revert to, just
back to the applied paragraph style.
So why not utilize the undo
stack and instead of clearing any highlighting actually just undo the
highlighting and restoring the previous highlighted color? This may be
difficult as the text selection would be part of the undo stack save, but
this is effectively what we want to achieve.
That is an implementation issue for a devs, but suspect the serial nature of
the undo stack is going to be too costly to use to try to identify the
highlight action (or other direct formatting) to revert. Think of trying to go
back through a couple of dozen paragraphs of new text including direct
formatting actions in order to identify a single highlighting action to be
reverted.
Believe it is going to be more efficient if done as a current text
selection--aided by a smart selection/detection of some type.
--
You are receiving this mail because:
You are on the CC list for the bug.
Context
- [Libreoffice-ux-advise] [Bug 88990] Unclear how to un-highlight · 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.