[TxMt] Re: Trimming lines

Sven Axelsson sven.axelsson at gmail.com
Thu Jul 31 15:07:08 UTC 2008


2008/7/31 Julio Biason <julio.biason at gmail.com>:
> On Tue, Jul 29, 2008 at 11:10 AM, Jacob Rus <jacobolus at gmail.com> wrote:
>> Make a new macro.  Run the "remove trailing spaces" command.  Then save.
>>
>> Save your macro, and give it a shortcut of ⌘S
>
> Sorry to bring this again, but it seems that this is not working, actually.
>
> The text gets properly cleaned, but the save command doesn't happen
> anymore. I tried to recreate the macro (weird thing, I didn't added
> the save the first time and it was working fine) doing the whole
> "Bundle -> Text -> Filter -> Trim document & Save", but still it
> doesn't save the file anymore.
>
> Maybe some changed in the latest bleeding edge?

No it doesn't work using the normal Save command in the macro.

You need to create a new bundle command set to
Save: Current file
Input: None
Output: Discard
And use this instead when recording the macro.

-- 
Sven Axelsson
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.


More information about the textmate mailing list