vmiklos at collabora.co.uk
Wed Jan 3 09:42:59 UTC 2018
On Fri, Dec 22, 2017 at 06:56:53AM +0000, Yemelyanenko Fyodor <fyodor_e at hotmail.com> wrote:
> For now I see 2 possible solutions:
> 1. Rewrite redlining, so Show option will change how doc is viewed, but
> not how it is formed (list of nodes)
> 2. When toggling change tracking or show option ON/OFF - clean
> For now, I prefer option 2 :-)
> Do we need to warn user, that we going to purge Undo/Redo (say, by
> displaying some warning?)
> Any additional suggestions will be appreciated.
We raise a similar warning when deleting a header, you can probably
reuse that code here. And sure, clearing the undo stack instead of
crashing sounds like an improvement (especially if we ask the user
before clearing the undo stack).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the LibreOffice