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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitter:  Benno Schulenberg <bens>
Submitted:  Sat 10 Dec 2016 07:05:29 PM UTC
   
 
Severity:  3 - Normal Status:  Wont Fix
Assigned to:  None Open/Closed:  Closed

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>
Group 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>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-04-02 bens Open/ClosedOpen Closed
    2017-03-19 bens StatusNone Wont Fix

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code