https://issues.apache.org/ooo/show_bug.cgi?id=123350

Armin Le Grand <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |ACCEPTED

--- Comment #10 from Armin Le Grand <[email protected]> ---
ALG: Has to do with #120498# where I changed the Text undo. The outliner for
text edit gets the undo manager set from the current model to allow smooth
continued action when the user uses CTRL-Z in text edit and the last text edit
command is already undone -> end text edit and continue undoing the last
action.
Problem is that with PresObjs (the predefined text objects in impress) the
Outliner pretty often triggers a Clear() at the undo stack. If this undo stack
is the already set global one, too much is cleared.
There are two possible solutions:

(1) overload Clear() in SdrUndoManager and clear only up to the TextEdit's
start point where itis undo stack was set (works, just added that code)

(2) remove #120498# and solve much simpler

Implemented (1) and it works, will commit that. I will also take the time and
check if (2) is doable, this would make things much easier. Less complicated is
always better.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to