bugGNU nano - Bugs: bug #46323, after a redo, an undo does not do...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #46323: after a redo, an undo does not do enough

Submitter:  Benno Schulenberg <bens>
Submitted:  Thu 29 Oct 2015 12:37:30 PM UTC
   
 
Severity:  4 - Important Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Thu 29 Oct 2015 08:44:10 PM UTC, comment #1: 

(It even segfaults when you type one a instead of two in the given recipe.)

Fixed in SVN, r5379.  Adding an undo item should only be skipped when ADDs and CUTs are really contiguous -- they may not be interrupted by an undo plus redo pair.  So the test should not check that the current action is the same as the action in the current undo item, but that it is the same as the actual last_action.

Benno Schulenberg <bens>
Group administrator
Thu 29 Oct 2015 12:37:30 PM UTC, original submission:  

To reproduce, run src/nano, then type:

  xx  M-U  M-E  aa  M-U

After the last M-U, only one "a" disappears instead of both.

It works fine in 2.3.2 and before, but fails in 2.3.3 and after.

Benno Schulenberg <bens>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-12-07 bens Open/ClosedOpen Closed
    2015-10-29 bens StatusNone Fixed
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code