bugGNU nano - Bugs: bug #46780, the cutword function should not...

 
 

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

bug #46780: the cutword function should not overwrite the cutbuffer

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Wed 30 Dec 2015 12:45:43 PM UTC  
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  Benno Schulenberg <bens> Open/Closed:  Closed

Sun 20 Mar 2016 02:40:14 PM UTC, comment #1: 

Fixed in SVN, r5751.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 30 Dec 2015 12:45:43 PM UTC, original submission:  

Currently, when using one of the cutword functions, the one word (or part of a word) that is cut, is put into the cutbuffer, overwriting anything that it is there.  This is somewhat unexpected and undesirable -- pressing backspace of delete several times does not enter anything into the cutbuffer nor does it alter its state.

To reproduce, put 'bind ^D cutwordleft main' into your .nanorc, then run 'nano +3 NEWS', and type ^K ^D ^D ^D ^D, then type ^U.  Instead of the deleted line being pasted, only the last deleted word is pasted back: "as".

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

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)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-20 bens Open/ClosedOpen => Closed
    2016-03-20 bens StatusNone => Fixed

    Back to the top


    Powered by Savane 3.6