bugGNU nano - Bugs: bug #52198, [Request] add live trimming of...

 
 

bug #52198: [Request] add live trimming of trailing whitespace when hard-wrapping

Submitted by:  None
Submitted on:  Mon 09 Oct 2017 04:21:54 PM UTC  
 
Severity:  1 - Wish Status:  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.

 

Wed 03 Jan 2018 02:27:12 PM UTC, comment #4:

Released in 2.9.2. How about the --trimblanks option? No need for that?

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 06 Dec 2017 07:43:19 PM UTC, comment #3:

Thanks for the feedback.

The patch has been pushed to master, c30d3d80. Plus a subsequent patch that renames "justifytrim" to "trimblanks".

How about adding also a command-line option? -M / --trimblanks?

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 05 Dec 2017 10:39:03 AM UTC, comment #2:

I've tried the patch with 2.9.1 and it works great for me to.
Thanks!

Anonymous
Sat 02 Dec 2017 01:02:01 PM UTC, comment #1:

Attached is a patch that works for me. Please test.

(file #42551)

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Mon 09 Oct 2017 04:21:54 PM UTC, original submission:

With (hard)wordwrap enabled it would be nice if nano didn't leave trailing whitespace, sort of like the justifytrim option does for justify which i use as a workaround.

Thank you! :)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-03 bens Open/ClosedOpen => Closed
    2017-12-06 bens StatusIn Progress => Fixed
    2017-12-02 bens Attached File- => Added 0001-wrapping-delete-trailing-blanks-upon-hardwrapping-wh.patch, #42551
        StatusNone => In Progress
        Assigned toNone => bens
    2017-10-14 bens Severity3 - Normal => 1 - Wish
        Summaryrequest to add trailing whitespace trimming in wordwrap mode => [Request] add live trimming of trailing whitespace when hard-wrapping

    Back to the top


    Powered by Savane 3.3