Menu

Undo/Redo

scoswriter
2007-05-07
2012-11-13
  • scoswriter

    scoswriter - 2007-05-07

    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?

     
    • Don HO

      Don HO - 2007-11-08

      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

       
    • Nobody/Anonymous

      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 ?

       
      • Nobody/Anonymous

        I suggest to keep an eye on the tab's disk icon. It will tell you when the file was again as last saved.

         
MongoDB Logo MongoDB