when i wrote code plugin for Sublime Text 2, i want to use event on_before_modified. But in api page (only on_modified), i not see that event, how i can do that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no
on_before_modifiedevent handler; however, you can useon_query_contextto do the same thing. It’s a bit more complicated but it does get called before anything is modified.