bugGNU nano - Bugs: bug #49298, when there are softwrapped lines,...

 
 

bug #49298: when there are softwrapped lines, M-- behaves strangely

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sun 09 Oct 2016 09:57:24 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.

 

Mon 10 Oct 2016 11:47:00 AM UTC, comment #1:

Avoided in git, d716809, by not trying to put the last line of the file on the bottom line of the screen when the target line is near the end of the file. When softwrap is on, it is too complicated to figure out how far the target line will be away from the bottom of the screen -- this is an exercise for some other time.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sun 09 Oct 2016 09:57:24 AM UTC, original submission:

To reproduce, run 'stty cols 70 && stty rows 28 && src/nano --ignore --softwrap +99 README'. Then type M-- (scroll-line-up) several times. Upon the seventh time, the screen will scroll back down and the cursor will be centererd.

Expected behavior: also in softwrap mode, for scroll-line-up and scroll-line-down the cursor should be fairly immobile.

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 31 Oct 2016 10:16:58 AM UTCbensOpen/ClosedOpen=>Closed
    Mon 10 Oct 2016 11:47:00 AM UTCbensStatusNone=>Fixed
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1