Hello,
Is there, by chance, a counterpart of sublime.set_timeout(), which would allow canceling the timeout?
The thing I’m trying to do is to call a method on on_selection_modified, but prevent it from executing the portion of code when the user is in process of dragging the mouse (and execute the aforementioned code only once, when selection hasn’t changed in e.g. 0.05 sec). I have it already done with python Timer object, but using ST api would be more efficient, I think.