1

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?

1
  • Have you asked on the Sublime Text forums? Commented Nov 27, 2012 at 10:01

1 Answer 1

2

There is no on_before_modified event handler; however, you can use on_query_context to do the same thing. It's a bit more complicated but it does get called before anything is modified.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.