Hi, On Fri, Dec 22, 2017 at 06:56:53AM +0000, Yemelyanenko Fyodor <fyodor_e@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 Undo/Redo. 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). Regards, Miklos
Attachment:
signature.asc
Description: Digital signature