[bug #13739] undo grouping wanted



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

                 Summary: undo grouping wanted
                 Project: GNU Midnight Commander
            Submitted by: ossi
            Submitted on: Mon 07/11/2005 at 21:24
                Category: Editor
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: current (CVS or snapshot)
        Platform Version: All

    _______________________________________________________

Details:

this is a very controversial topic, so i'm missing the "put flameshield on
before joining thread" warning checkbox. :)

there are actually two main questions:
- are movements actions? for me, definitely yes. i _hate_ editors that just
pretend that there are no movements when it comes to undo.
- undo grouping should roughly predict what the user probably wants to undo at
once, without grouping too much. i suggest an action/time/space based
grouping:
  - if the user switches to another "action sequence" (inserting/overwriting,
deleting, navigating, maybe more), he certainly wants it separated from the
previous sequence
  - if he makes a longer break while doing things, he probably expects it when
undoing as well. what "longer" means is very subjective; a simple adaptive
algorithm might make sense
  - small moves are merged, while big ones aren't. i'm not even sure what the
criteria should be here. maybe moves should be generally merged and we should
only depend on the other two "break conditions".







    _______________________________________________________

Reply to this item at:

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

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




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