bugGNU nano - Bugs: bug #49086, with softwrap, a <Down>...

 
 

bug #49086: with softwrap, a <Down> sometimes does not scroll enough

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Wed 14 Sep 2016 08:52:39 AM 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.

 

Wed 14 Sep 2016 11:12:40 AM UTC, comment #1:

Fixed in git, 97f6ae5.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 14 Sep 2016 08:52:39 AM UTC, original submission:

To reproduce, run 'stty cols 120 && stty rows 20 && src/nano --soft +191 doc/faq.html'. Then type <Down> five times. Notice how the line that starts with "Since nano version 0.9.20..." is shown incompletely. Now type <Up> <Down>. This time the line does scroll fully into view. (It seems to scroll a line extra, but that is just because the top line is softwrapped over three lines, so this is the minimum amount it can scroll in this situation.)

Expected behavior: whenever the cursor lands on a line, the screen should be scrolled (if necessary) in such a way that it is displayed in its entirety.

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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 31 Oct 2016 10:01:34 AM UTCbensOpen/ClosedOpen=>Closed
    Wed 14 Sep 2016 11:12:40 AM UTCbensStatusIn Progress=>Fixed
    Wed 14 Sep 2016 10:32:03 AM UTCbensStatusNone=>In Progress
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1