← Back to team overview

touch-packages team mailing list archive

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

 

I'm not against the highlighting of trailing whitespace, most of the
time i do actually want to be notified of it. The problem is that the
syntax highlighting code considers all spaces to be "trailing
whitespace" while the user is typing them. It's like a bell going off
every time you press the spacebar.

I have no idea if it's possible to specify "don't complain about
trailing whitespace when the cursor is at the end of the line", but if
it is that seems like it would be the best solution. That way it
wouldn't complain about spaces while typing, but after going on to the
next line if there were still trailing spaces it would correctly
complain.

-- 
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