Menu

Undo problem

2004-02-03
2012-09-26
  • Nobody/Anonymous

    i'm not sure what it is but here i go.

    - in some project, do a clean - rebuild all.

    - open some source file, edit some line of code (so that it still compiles). then compile.
     
    - then do CTRL-Z (or whatever you have configured for Undo).
      After the undo, the file in the editor is marked as saved just like it was before undoing it.

    - but if you hit compile now, the project will only be linked - but i find it should recompile the undo'ed file to
    be up to date. i'm not sure why it doesn't do just that.

    - the real problem is though, when i now close the file and re open it, it doesn't contain anymore the changes i made - they're all gone and i can't Undo/Redo them. it looks like the Undo feature marked the file as saved,
    but in reality it isn't, so after reopening it i still get the old version of that file.
    you can only workaround this by pressing Save All before closing the file, or type some newline in the file and then Save it.

    i can reproduce this and it's really annoying when you lose code. i use Dev-C++ 4.9.8.5. i'm on Windows XP.

     
    • Nobody/Anonymous

      I can't reproduce it and I use Dev-C++ 4.9.8.5 with Windows XP like you

      rndiablo

       
    • Curtis Sutter

      Curtis Sutter - 2004-02-03

      what about doing a -rebuild all every time?  I find this is the easiest way to avoid many problems :-)

      Curtis

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.