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

 
 

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

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

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

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>
Group administrator
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>
Group administrator

 

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

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

    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
    2017-12-23 bens StatusNone Fixed
        Assigned toNone bens
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code