
+3
Add a pre_close event.
I'm writing a plugin that would benefit from being able to detect when a user has initiated closing a file.
In particular I need to perform an operation that would influence whether or not ST 2 considered the view dirty.
Customer support service by UserEcho