listen for selection modified instead of buffer activated

This commit is contained in:
Alan Hamlett 2015-04-12 16:45:16 -07:00
parent f1f408284b
commit 89368529cb
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ class WakatimeListener(sublime_plugin.EventListener):
def on_post_save(self, view):
handle_action(view, is_write=True)
def on_activated(self, view):
def on_selection_modified(self, view):
handle_action(view)
def on_modified(self, view):