← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1361131] Re: constantly flashing bright green while typing

 

Why would this flashing behaviour ever be a desirable default?

On 26/03/15 01:12, Benno Schulenberg wrote:
> If the trailing-whitespace highlighting annoys you, you can edit
> /usr/share/nano/sh.nanorc and remove or comment out the line that says:
> color ,green "[[:space:]]+$".  Problem solved.  (You will then probably
> want to do the same for the other *.nanorc files there.)
>

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to nano in Ubuntu.
https://bugs.launchpad.net/bugs/1361131

Title:
  constantly flashing bright green while typing

Status in nano package in Ubuntu:
  New

Bug description:
  While editing a shell script (.sh file) nano colours trailing spaces
  bright green.

  It also considers spaces that have just been typed to be trailing
  spaces.

  This results in constant flashing bright green while typing, which is
  both distracting and annoying.

  It's at its most ridiculous when typing comments (for which trailing
  whitespace is obviously completely irrelevant), but is also irritating
  any time you happen to look at what you're typing. Which for me is, as
  it happens, all the time.

  Ideal solution: only display trailing whitespace if the user is not,
  you know, still typing on that line, with the cursor right there.

  Easy solution: just shut up about the damn spaces already.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1361131/+subscriptions


References