I’m trying to set event listener to specific view ?
something like this
view = self.window.new_file()
view.settings().set('color_scheme' , "...")
view.on_selection_modified( callback )
I have tried the following but it listen all view events but I need only one
class OnLoadedViewCommand( sublime_plugin.ViewEventListener ):
def on_selection_modified( self, view ):
print( "I am Test1." )
Is it posible ?