[TxMt] Re: callback.document.will-save not working anymore

Koen Punt koen at koenpunt.nl
Wed Jul 13 08:15:36 UTC 2016

Thanks, it's working again.

Although another (small?) thing came up, which I assume is an issue with the
"diff gutter" bundle.

I have an "insert newline at EOF" macro which is bound to callback.document
.will-save. And I think this is best described using this mini screencast:



I remove the trailing newline, document displays as modified (dot in tab)

I save, the dot in the tab disappears, in the gutter appears a dot for a git

I save again, the dot in the gutter disapppears.



Sent from [Nylas N1](https://link.nylas.com/link/33wd9n5m5l3cdcz4d1oikbwcz
the extensible, open source mail client.  


On Jul 13 2016, at 12:48 am, Allan Odgaard <mailinglist at textmate.org>

> On 12 Jul 2016, at 15:03, Koen Punt wrote:


> > […] callback.document.will-save isn't working anymore when used as  
> > semantic  
> > class in a bundle.


> 2.0-beta.11.9 re-introduces this feature.


> If you are on 2.0-beta.11.8 then go to Preferences → Software Update  
> and hold option when clicking Check Now. For older builds, it will  
> auto-update (when checking for nightly builds).


> _______________________________________________  
> textmate mailing list  
> textmate at lists.macromates.com  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20160713/e9ec62bd/attachment-0001.html>

More information about the textmate mailing list