0
Add sublime_plugin.EventListener.on_package_file_change()
Being able to detect when the color scheme changes would be really useful for two plugins I've been working on. It seems the best way to detect this is to have an event listener that fires when files in the Packages folder are saved.
Ideally the listener would receive the name of the file as a parameter.
0
Will Bond hace 13 años
As of build 2092 there are two new methods on the Settings object, add_on_change(key, callback) and clear_on_change(key). These accomplish the goals of this request. Thanks Jon!
Servicio de atención al cliente por UserEcho