bugGNU nano - Bugs: bug #52717, in current git, <Tab> does...

 
 

bug #52717: in current git, <Tab> does nothing when marked region is empty

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Thu 21 Dec 2017 06:56:02 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 23 Dec 2017 10:45:11 AM UTC, comment #1:

Fixed in git, ee5b250b. It is fixed in the second manner, but without the cursor moving forward -- because it is easier this way, and it seems more consistent: the cursor never moves during indenting/commenting when it is at the left edge.

Closing because unreleased.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 21 Dec 2017 06:56:02 PM UTC, original submission:

To reproduce, run:

src/nano +4 NEWS

Then type: M-A <Tab> <Tab> <Tab>...

Result: nothing happens.

Expected behavior: when the marked region is empty, nano should either behave as if the mark is not on, or otherwise (preferably) treat this as a special case and indent the current line anyway AND move the cursor forward so that the added indentation is highlighted.

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

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

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
    Sat 23 Dec 2017 10:45:11 AM UTCbensStatusNone=>Fixed
      Assigned toNone=>bens
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1