[bug #13737] undo does not reset "modified" status



URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13737>

                 Summary: undo does not reset "modified" status
                 Project: GNU Midnight Commander
            Submitted by: ossi
            Submitted on: Mon 07/11/2005 at 19:56
                Category: Editor
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: current (CVS or snapshot)
        Platform Version: All

    _______________________________________________________

Details:

i often accidentally do minor modifications (mostly partial escape sequences)
which i undo of course. anyway, afterwards i still don't know if this was the
only modification.

some considerations for the implementation:
- movements don't change the modified status, so you can't just check whether
the undo stack is at the last file save point
- undo of changes past the last file save point must re-assert the modified
status
- at file save points, it would make sense to stop undoing if it results from
keyboard auto-reapeat (which can be assumed if the same sequence arrives (lets
say) fife times within one second). undo will be resumed when the key is
re-asserted after a pause.







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13737>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]