Is there a way to detect editor exit event in Sublime 2?
It is not listed in the API reference and I've tried using EventListener.on_close
, but that works only for detecting view closing, which is not what I need.
I just want to execute something before the editor exits, is that possible?