bugGNU nano - Bugs: bug #52718, in current git, the indenting...

 
 

bug #52718: in current git, the indenting behavior changes when cursor reaches left edge

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Thu 21 Dec 2017 08:17:21 PM UTC  
 
Severity: 3 - NormalStatus: In Progress
Assigned to: Benno Schulenberg <bens>Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 24 Dec 2017 11:31:44 AM UTC, comment #1:

Attached is a patch that appears to work during first, quick testing.

(file #42712)

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

To reproduce, run:

src/nano +3 NEWS

and type: <Right> <Right> M-A <Down> <Down> <Shift+Tab> <Shift+Tab> <Tab> <Tab>.

Note that the two <Shift+Tab>s unindent a group of three lines, but the <Tab>s forget about the third line. This is not what the user would wish to see.

Expected behavior: if the first indent/unindent/comment/uncomment action affects a certain group of lines, any subsequent and consecutive indent/unindent/comment/uncomment action should affect the same group of lines.

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:
   

 

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
    Sun 24 Dec 2017 11:31:44 AM UTCbensAttached File-=>Added 0001-indenting-keep-affecting-last-line-of-marked-region-.patch, #42712
      StatusNone=>In Progress
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1