patchGNU nano - Patches: patch #8792, undoing consecutive Enters as a...

 
 

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

patch #8792: undoing consecutive Enters as a whole

Submitter:  Benno Schulenberg <bens>
Submitted:  Sat 14 Nov 2015 05:05:55 PM UTC
   
 
Priority:  5 - Normal Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None

Fri 01 Jul 2016 01:50:35 PM UTC, comment #1: 

Updated the patch for the current state of git.  It's still only a partial patch, but meanwhile I think it is the better behavior.

(file #37651)

Benno Schulenberg <bens>
Group administrator
Sat 14 Nov 2015 05:05:55 PM UTC, original submission:  

Currently nano undoes each and every stroke of the Enter key separately.  Attached patch undoes (and redoes) a series of consecutive Enters as a unit.

Don't know if this is a good idea -- whether people would not prefer each newline to be undone on its own, as it does now.  Also, the patch is not complete: also consecutive line joins would have to be undone (and redone) as a whole.

(Anyway, I just saw the similarity, and thought: let's save some code.  Fifteen lines shave off.)

Benno Schulenberg <bens>
Group administrator

 

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

 

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
    2016-07-01 bens Attached File- Added 0001-text-undo-consecutive-Enters-in-one-go-instead-of-ea.patch, #37651
        StatusNone Need Info
    2015-11-14 bens Attached File- Added treating-enters-like-insert.patch, #35462

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code