Don't record (de)activating change tracking on undo stack

Jean-Marc Lasgouttes lasgouttes at lyx.org
Thu Nov 30 14:47:20 UTC 2023


Le 30/11/2023 à 03:01, Daniel a écrit :
> LyX has the peculiarity of treating the (de)activating of change 
> tracking as something that is recorded on the undo stack.

Actually, everything that is stored in the file goes to the undo stack. 
I do not see how to avoid that.

> One of the problems I ran into with this is that it unexpectedly killed 
> the redo function when I activated change tracking, i.e. I undid some 
> changes and activated the change tracking in between and this changed 
> what could be redone.
> 
> The only other app I know of that does this is Apple Pages. But I am not 
> sure whether Apple's change tracking should be taken as a thought 
> through feature, e.g. it is impossible to de-activate change tracking 
> without accepting all changes. Go figure!

Do other applications save change tracking status?

Would you find it good that, if you open a file for the explicit purpose 
of setting change tracking "on", then it will be necessary to fake 
another change for the purpose of being able to save it? Or that undoing 
all your changes may leave certain change unbeknownst to you?

There might be another way to avoid killing the redo stack. Do you know 
of any applicaiton that has a solution to this?

JMarc



More information about the lyx-devel mailing list