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

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sat 14 Nov 2015 05:05:55 PM UTC  
 
Priority: 5 - NormalStatus: Need Info
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 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>
Project 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>
Project Administrator

 

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 01 Jul 2016 01:50:35 PM UTCbensAttached File-=>Added 0001-text-undo-consecutive-Enters-in-one-go-instead-of-ea.patch, #37651
      StatusNone=>Need Info
    Sat 14 Nov 2015 05:05:55 PM UTCbensAttached File-=>Added treating-enters-like-insert.patch, #35462

    Back to the top


    Powered by Savane 3.1-cleanup1