bugGNU nano - Bugs: bug #61222, [Wish] trailing whitespace to the...

 
 

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

bug #61222: [Wish] trailing whitespace to the left of the cursor should not be colored

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sat 25 Sep 2021 12:05:04 PM UTC
 
Severity:  1 - Wish Status:  Wont Fix
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Tue 22 Mar 2022 09:00:23 AM UTC, comment #1: 

This would mean that the current row needs to be redrawn also for every horizontal cursor movement, and that both the current row and the previous row need to be redrawn for any <Up> or <Down> movement (like when the mark is on).  This is... too silly, too costly, too annoying to implement.

Benno Schulenberg <bens>
Project Administrator
Sat 25 Sep 2021 12:05:04 PM UTC, original submission:  

Several syntaxes colorize trailing whitespace.  That may be nice when looking at existent files, but can be a nuisance while typing in a file.  (It doesn't bother me personally, because I don't look at the screen much while I type, but good typists will keep their eyes on the stuff they are typing and will be distracted by the flickering color of the last-typed space -- see https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1361131.)

This is probably hard to do.  Determining whether the cursor is at the end of the line and whether the preceding character is a space or a tab is easy, but then... figuring out where this whitespace starts will be somewhat costly, and then decolorizing it at the right moment...  (And maybe some people don't want it to be decolorized, so it would need an option to turn it on or off.)

Benno Schulenberg <bens>
Project Administrator

 

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

Attach Files:
   
   
Comment:
   

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.

    Only logged-in users can vote.

     

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-03-29 bens Open/ClosedOpen => Closed
    2022-03-22 bens StatusNone => Wont Fix

    Back to the top


    Powered by Savane 3.9