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

 
 

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

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

Submitter:  Benno Schulenberg <bens>
Submitted:  Sun 09 Oct 2016 09:57:24 AM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

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>
Group administrator
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>
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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-31 bens Open/ClosedOpen Closed
    2016-10-10 bens StatusNone Fixed
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-f14d.
    Corresponding source code