bugGNU nano - Bugs: bug #47194, doing a Ctrl+Right on the last...

 
 

bug #47194: doing a Ctrl+Right on the last onscreen word sometimes scrolls too much

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Thu 18 Feb 2016 08:31:38 PM UTC  
 
Severity: 2 - MinorStatus: 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.

 

Thu 07 Apr 2016 12:30:38 PM UTC, comment #3:

Fixed in git, cb17732a.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 06 Apr 2016 07:51:55 PM UTC, comment #2:

Ah, I shouldn't have said three lines. It scrolls again two lines when in that situation just one line would have been enough.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 06 Apr 2016 07:49:03 PM UTC, comment #1:

To reproduce, do 'stty rows 24 && src/nano +22 README', then type nine times <Down>, until the cursor is on the line that says "make install". Then type three times <Ctrl+Right>. The screen scrolls two lines to bring "It's that simple" into view. That is the expected behavior.

But now, type M-- (to scroll the screen one line down but keep the cursor where it is: on the bottom line), then type <Ctrl+Left> and <Ctrl+Right>. Now the screen scrolls three lines. Wrong.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 18 Feb 2016 08:31:38 PM UTC, original submission:

As noted already in bug #42645, when the cursor is on the last word of the screen, and there are one or more blank lines shown below this last word, then a Ctrl+Right will scroll one or more lines too many -- too many in the sense that it is not necessary to scroll those lines in order to show the next word. So it shouldn't.

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
    Mon 20 Jun 2016 09:40:57 AM UTCbensOpen/ClosedOpen=>Closed
    Thu 07 Apr 2016 12:30:38 PM UTCbensStatusNone=>Fixed
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1