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

2024-01-17 Thread Ken Sharp
** Changed in: nano (Ubuntu) Status: New => Invalid -- 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

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

2015-03-30 Thread tommy
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

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

2015-03-30 Thread Benno Schulenberg
Nano colours the things on the screen using just the regular expressions specified in the relevant syntax file. There is no way that these regexes can take the position of the cursor into account. (Well, not without a major and ugly patch, and that for just one special case.) So... unless you

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

2015-03-28 Thread Benno Schulenberg
Code is inspected far more often than it is written, and when inspecting code, some people do want to be alerted to trailing whitespace. So that's why it is in several of the *.nanorc files. However, those files in /usr/share/nano are just examples -- they are meant to be customized by the user.

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

2015-03-25 Thread Benno Schulenberg
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

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

2015-03-25 Thread tommy
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