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:  None
Assigned to:  None Open/Closed:  Open

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


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)

    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.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.7