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
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
On 12 Jun 2019, at 16:23, Ronald Wampler rdwampler@gmail.com wrote:
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...
Hmm, that might work. I’ll give that a try.
Maybe something similar can be added for when a window (project) is closed?
That would be nice.