Comment 4 for bug 1361131

Revision history for this message
tommy (mesilliac) wrote :

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.