bugGNU nano - Bugs: bug #49099, with softwrap, a <Right>...

 
 

bug #49099: with softwrap, a <Right> sometimes does not scroll enough

Submitted by:  David Lawrence Ramsey <dolorous>
Submitted on:  Thu 15 Sep 2016 07:49:22 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 18 Oct 2016 01:15:41 PM UTC, comment #3:

Fixed in git, 43f35fc.

(The subbug with M-- and M-+ I will leave as is for now.)

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Mon 17 Oct 2016 07:55:48 PM UTC, comment #2:

The secondary bug has been rereported as bug #49374.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Fri 16 Sep 2016 06:30:09 PM UTC, comment #1:

A secondary bug is that, after typing the twelve extra <Right>s that make the cursor go beyond the real end of the line and moves it to the next line, the screen scrolls too much. It scrolls three lines, where two would have been enough to bring the last line of the file into view. This doesn't happen when using <Ctrl+Right> instead of <Right>.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 15 Sep 2016 07:49:22 PM UTC, original submission:

Borrowed almost completely from bug 47710, with one change: the problem occurs with Right instead of Ctrl-Right.

"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 Right. When you've reached the last pair of exes on the current line, another 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 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."

David Lawrence Ramsey <dolorous>
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 (Posted a comment)
  • -unavailable- added by dolorous (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 31 Oct 2016 10:02:52 AM UTCbensOpen/ClosedOpen=>Closed
    Tue 18 Oct 2016 01:15:41 PM UTCbensStatusNone=>Fixed
      Assigned toNone=>bens
    Mon 17 Oct 2016 07:55:48 PM UTCbensSummarywith softwrap, <Right> does not scroll enough=>with softwrap, a sometimes does not scroll enough
    Fri 16 Sep 2016 06:30:09 PM UTCbensSummarywith softwrap, Right does not scroll enough=>with softwrap, does not scroll enough

    Back to the top


    Powered by Savane 3.1-cleanup1