bugGNU nano - Bugs: bug #47710, with softwrap, a Ctrl+Right does...

 
 

bug #47710: with softwrap, a Ctrl+Right does not scroll enough

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Fri 15 Apr 2016 07:57:25 PM 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.

 

Tue 20 Sep 2016 10:42:59 AM UTC, comment #2:

Fixed in git, 598e0af, for the <Ctrl+Right> case. For the <Right> case, see the new bug #49099.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 15 Sep 2016 10:16:57 AM UTC, comment #1:

See bug #49088 for progress reports.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Fri 15 Apr 2016 07:57:25 PM UTC, original submission:

To reproduce, run 'for x in $(seq 20); do echo -n "xx "; done >exes', then run 'stty cols 50 && src/nano --ignore --soft --smooth --nowrap exes'. Then type <Enter> until the second line with exes disappears from view.

Then start typing <Ctrl+Right>. When you've reached the last pair of exes on the current line, another <Ctrl+Right> does not scroll the rest of the line into view, but the cursor sits as if stuck on the second x of the pair. When you keep typing <Ctrl+Right>, ultimately the invisible real cursor jumps off the end of the line and the rest of the line and the subsequent blank line scroll into view.

Expected behavior: as soon as you start moving around in a softwrapped line, the whole line should come into view.

Bug is present since at least nano-2.2.1.

To continue: go back to the beginning of the line of exes, type <Enter> until the wrapped part scrolls off. Then type M-- followed by M-= (the scroll-up and scroll-down commands). The second key stroke again should bring the entire softwrapped line into view, and not just the first part.

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

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 31 Oct 2016 09:52:45 AM UTCbensOpen/ClosedOpen=>Closed
    Tue 20 Sep 2016 10:42:59 AM UTCbensStatusIn Progress=>Fixed
    Thu 15 Sep 2016 10:16:57 AM UTCbensStatusNone=>In Progress
      Assigned toNone=>bens

    Back to the top


    Powered by Savane 3.1-cleanup1