Is there a better way to have some kind of onIdle callback?
[code]import sublime, sublimeplugin
class IdleCommand(sublimeplugin.Plugin):
def onActivated(self, view):
sublime.setTimeout(self.onIdle, 200)
def onIdle(self, view):
# Do something
sublime.setTimeout(self.onIdle, 200)[/code]