remove trailing whitespace on save: but only on edited lines

Trent Mick <[email protected]> Wed, 11 May 2011 12:36:06 -0700
Newsgroups gmane.comp.ide.komodo.general
Message-ID <[email protected]>
I really want Komodo to have "[ ] rm trailing whitespace, but only on
editing lines (use scc diff to figure that out)"

Ever since git... there is a fanatic war against trailing whitespace
(before 'git diff' highlights trailing whitespace in red). Komodo's
auto-indent leaves trailing whitespace around. It would be nice if one
or both of the following were added:

1. When leaving a line on which Komodo just auto-indented but on which
no content was added: remove the trailing whitespace. Not sure if this
would be practical to implement.

2. Use scc-diff (or the edit history?) to limit the lines on which
trailing whitespace is removed.


Perhaps just have the "remove trailing whitespace on save" be a
project setting woudl be sufficient.

Cheers,
Trent

-- 
Trent Mick
_______________________________________________
Komodo-discuss mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss