https://bugs.documentfoundation.org/show_bug.cgi?id=154048
--- Comment #5 from Mike Kaganski <[email protected]> --- (In reply to Stéphane Guillou (stragu) from comment #3) > On the undo stack there is (most recent at the top): > - Typing "super" > - Apply attributes > - Typing "normal" > > (a) Ctrl + Z removes the superscript string, and continuing writing uses > non-superscript characters *even though "Apply attributes" is still on top > of the stack* (In reply to Heiko Tietze from comment #4) > This corner case with undo is somewhat tricky. We definitely want to keep > undo when it is applied to a selection but I could imagine to not keep it in > the undo stack if done without any selection. Mike, what do you think? Try this: 1. Type "normal" 2. Ctrl+Shift+P 3. Ctrl+Z What is your expectation here? Personally I believe that the bug is in comment 3, (a), that the first undo must keep the cursor inside the empty text run with modified properties created on the previous step, and the first undo there must not join the adjacent text runs with the same "normal" formatting. -- You are receiving this mail because: You are the assignee for the bug.
