On Wed, Jun 12, 2019 at 5:25 AM Jacob Carlborg doob@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...
Maybe something similar can be added for when a window (project) is closed?
-Ron
-- /Jacob Carlborg
textmate mailing list textmate@lists.macromates.com https://lists.macromates.com/listinfo/textmate