bugGNU nano - Bugs: bug #47667, when softwrap is on, PageUp +...

 
 

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

bug #47667: when softwrap is on, PageUp + PageDown is not immobile

Submitter:  Benno Schulenberg <bens>
Submitted:  Tue 12 Apr 2016 09:12:50 AM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  dolorous Open/Closed:  Closed

Thu 23 Mar 2017 06:40:10 PM UTC, comment #1: 

Fixed in git, 2f6c8987, by David's softwrap overhaul.

Benno Schulenberg <bens>
Group administrator
Tue 12 Apr 2016 09:12:50 AM UTC, original submission:  

When not using softwrap, doing a PageUp followed by a PageDown will leave the cursor at the same place as where it was before hitting those two keys.  But when softwrap is on, this is not the case: the cursor creeps in an upward direction.

To reproduce, run 'stty cols 50 && src/nano --soft +111 NEWS' and start alternating PageUp and PageDown.  On the screen, the cursor will slide down a bit, but in the file it will move to lower line numbers.

Expected behavior: also when softwrap is on, a PageUp followed by a PageDown (or the other way aorund) should leave the cursor on the same line and on the same spot on the screen -- or if that is not feasible, then at least one of the two: same line or same spot.

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

    Date Changed by Updated Field Previous Value => Replaced by
    2017-04-02 bens Open/ClosedOpen Closed
    2017-03-23 bens Assigned tobens dolorous
    2017-03-23 bens StatusNone Fixed
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code