[TxMt] Re: Trimming lines

Alex Ross tm-alex at rosiba.com
Mon Jul 28 22:50:01 UTC 2008


On Jul 29, 2008, at 12:31 AM, Julio Biason wrote:

> Hi there.
>
> Is there a way to make TextMate right-trim lines (e.g., remove tailing
> spaces in the end of lines)? I'm getting warnings from pep8.py (which
> checks if your code follows the PEP8) and looks like TextMate leaves a
> lot of spaces on empty lines inside and indented code.
>
> Ideas?

Yes, there's a command in the Text bundle:

“Remove Trailing Spaces in Document / Selection”


More information about the textmate mailing list