« Return to Thread: Trimming lines

Re: Trimming lines

by Sven Axelsson-3 :: Rate this Message:

| View in Thread

2008/7/31 Julio Biason <julio.biason@...>:

> On Tue, Jul 29, 2008 at 11:10 AM, Jacob Rus <jacobolus@...> 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
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

 « Return to Thread: Trimming lines