[TxMt] Re: Closing document callback?

Ronald Wampler rdwampler at gmail.com
Wed Jun 12 14:23:03 UTC 2019


On Wed, Jun 12, 2019 at 5:25 AM Jacob Carlborg <doob at me.com> wrote:
>
> I know there’s a semantic class for when a document is open: "callback.document.did-open”. Is there a corresponding semantic class for when a document is closed? Or even better when a project is closed. I know that TextMate technically doesn’t have a concept of projects. I would like to stop a completion daemon.
>
> I had a look in the TextMate source code but I couldn't find anything
There doesn't seem to be one, but see `DocumentClosed`,
`DocumentChanged`, etc in Changes.md.
https://github.com/textmate/textmate/blob/master/Applications/TextMate/about/Changes.md#2016-10-03-v20-beta1221

Maybe something similar can be added for when a window (project) is closed?

-Ron
>
> --
> /Jacob Carlborg
>
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> https://lists.macromates.com/listinfo/textmate


More information about the textmate mailing list