Sublime Forum

Buffering the on_selection_modified event

#1

I am trying to create a method to buffer the on_selection_modified event.
I want to capture the event but not fire my method until the on_selection_modified has not been fired for 500ms. Currently it fires continually during the selection.

Any suggestions?

0 Likes