bugGNU nano - Bugs: bug #49823, with softwrap, a line does not...

 
 

bug #49823: with softwrap, a line does not always become fully visible when using M-=

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sat 10 Dec 2016 07:05:29 PM UTC  
 
Severity: 3 - NormalStatus: Wont Fix
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 19 Mar 2017 08:35:30 PM UTC, comment #1:

This will be obsoleted by David's softwrap overhaul, which changes how softwrap behaves: the screen can scroll per softwrapped chunk just as if it were lines.

Benno Schulenberg <bens>
Project Administrator
Sat 10 Dec 2016 07:05:29 PM UTC, original submission:

When using the scroll-down-one-line-without-moving-cursor function (M-= or M-+) while on the bottom line of the screen and softwrap is on and the line that then scrolls into view is longer than the screen width, this line is not fully shown.

To reproduce, run 'stty rows 20 && stty cols 70 && src/nano --ignore --smooth --soft +18,55 doc/faq.html', then first type M--, then six times <Down>, then M-=. See how the cursor sits on the "e" of "the RPM", and the line is not shown fully. Now type <Left>. The line still does not scroll into view -- this is a secondary bug. If you would type <Right> or <Ctrl+Right> or <Ctrl+Left>,the line /would/ scroll fully into view. But don't type those, type instead M-= again. Now the screen scrolls /half a page/, when two or three lines would have been enough.

Expected behavior: when an M-= lands on a softwrapped line, this line should be shown competely.

Benno Schulenberg <bens>
Project Administrator

 

(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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 02 Apr 2017 09:51:30 AM UTCbensOpen/ClosedOpen=>Closed
    Sun 19 Mar 2017 08:35:30 PM UTCbensStatusNone=>Wont Fix

    Back to the top


    Powered by Savane 3.1-cleanup1