bugGNU nano - Bugs: bug #56241, when the mark is on but nothing is...

 
 

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

bug #56241: when the mark is on but nothing is marked, <Ctrl+Del> deletes nothing

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Tue 30 Apr 2019 07:41:11 AM UTC  
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  Benno Schulenberg <bens> Open/Closed:  Closed

Tue 30 Apr 2019 07:54:52 AM UTC, comment #1: 

Fixed in git, commit 7c08e8ea.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 30 Apr 2019 07:41:11 AM UTC, original submission:  

To reproduce, run 'src/nano --ignore +9,5 README'.
Then type: <Ctrl+Delete>
The word "First " is deleted.

Now type: ^6 <Ctrl+Delete>
Nano says: "Nothing was cut".

Now type: ^6 <Down> <Ctrl+Delete>
The word "the " is deleted and the mark is switched off.

Now type: <Ctrl+Right> ^6 <Ctrl+Shift+Delete>
The word "GPL, " is deleted.

Expected behavior: <Ctrl+Delete> should ignore the mark.  The mark being on or off ought to be irrelevant when chopping words, because afterwards the mark is always off anyway.

(It might be nice, though, if the mark were preserved, just like M-T goes to great lengths to preserve and adjust the mark when it is set.  But... maybe that is a bit over the top.  Maybe it would be better if any cutting function always switched off the mark.)

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
    2019-06-19 bens Open/ClosedOpen => Closed
    2019-04-30 bens StatusNone => Fixed

    Back to the top


    Powered by Savane 3.5