[TxMt] Re: Save and strip whitespace

Martin Kühl martin.kuehl at gmail.com
Sun Feb 12 08:36:10 UTC 2012


On Fri, Feb 10, 2012 at 11:33, Martin Kühl <martin.kuehl at gmail.com> wrote:
> I see. Those are definitely not possible with TM1; maybe Allan will
> consider adding the necessary hooks to TM2, but designing a good hooking
> system takes time.

Heh, of course the system is already in place. Actions with the semantic
class "callback.document.did-save" are run on save; maybe there'll be
another class "callback.document.will-save" for things like whitespace
trimming.

Martin


More information about the textmate mailing list