I’m a plugin developer. My plugin doesn’t work on Sublime 4. After doing some tests, I found the EventListener can’t be triggered. The following snippet is a simple plugin. It won’t print anything when I modify the view context. I can’t figure out what happened. Could someone help me out? Thanks!
import sublime
import sublime_plugin
class SimpleTest(sublime_plugin.EventListener):
def on_modified(self, view):
print("modified")