mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
listen for selection modified instead of buffer activated
This commit is contained in:
parent
f1f408284b
commit
89368529cb
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user