I have the same behaviour and reopening the file is also working fine to get back the to the last changes.
It is very time consuming to open/close a file almost each time an Undo is needed. Is there any option to fix that ? Does this topic needs a bug report ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I encountered some unexpected behavior while using undo <ctrl-z> although I cannot reproduce the result as of yet.
After editing a file for quite some time with a large amount of changes, and several intermediate saves I tried to undo something.
After pressing <ctrl-z> almost every change I made since opening the file was un-done. Redo does reverse this correctly.
Closing and then reopening the file restores the undo/redo behavior to what I expect (undo/redo the last change)
... I think?
I have seen this kind or behavior actually as a feature once ( group undo/ group redo) so I'll ask.
Is there a setting that forces this behavior? None were obvious to me.
Has anyone else encountered this?
The internal buffers keep the whole track of document during its life time.
It allows users to go back/forward to any state of document.
For me it's extremely useful so I won't change this behaviour.
Don
I have the same behaviour and reopening the file is also working fine to get back the to the last changes.
It is very time consuming to open/close a file almost each time an Undo is needed. Is there any option to fix that ? Does this topic needs a bug report ?
I suggest to keep an eye on the tab's disk icon. It will tell you when the file was again as last saved.