bugGNU nano - Bugs: bug #50009, with softwrap, pasting an overlong...

 
 

bug #50009: with softwrap, pasting an overlong line at the bottom shows only part of it

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Mon 09 Jan 2017 01:57:15 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.

 

Mon 09 Jan 2017 02:11:06 PM UTC, comment #1:

Fixed in git, cf75da98.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Mon 09 Jan 2017 01:57:15 PM UTC, original submission:

To reproduce, download the attached file, then run:

stty rows 24 && stty cols 80 && src/nano --ignore --nohelp --morespace --soft --smooth --nonewlines src/winio.c threelines.txt

Move the cursor to the blank line at the bottom of the window, then type: M-> to switch to the other buffer, and type:
M-A M-/ M-6. Then type M-> again to switch back to the first buffer and then type ^U.

Result: nano shows only the first part of the pasted long line and the cursor seems to be stuck at the right edge of the screen.

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:
   

Attached Files
file #39400:  threelines.txt added by bens (238B - text/plain)

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 Jan 2017 10:56:12 AM UTCbensOpen/ClosedOpen=>Closed
    Mon 09 Jan 2017 02:11:06 PM UTCbensStatusIn Progress=>Fixed
    Mon 09 Jan 2017 01:57:15 PM UTCbensAttached File-=>Added threelines.txt, #39400

    Back to the top


    Powered by Savane 3.1-cleanup1