(self, view)
Called by Sublime when the cursor moves (or when text is selected)
        called after on_modified (when on_modified is called)
Called by Sublime when the cursor moves (or when text is selected)
        called after on_modified (when on_modified is called)
Called by Sublime when the cursor moves ( or when text is selected ) called after on_modified ( when on_modified is called )
def on_selection_modified(self, view):
        """
        Called by Sublime when the cursor moves (or when text is selected)
        called after on_modified (when on_modified is called)
        """
        log.debug("on_selection_modified")
        # Todo: why do we only check this here? anyway to globally disable the listener for non-ts files
        if not is_typescript(view):
            return

        EventHub.run_listeners("on_selection_modified", view)

        info = get_info(view)
        if info:
            self.on_selection_modified_with_info(view, info)
def on_selection_modified ( self , view ) : log . debug ( "on_selection_modified" ) # Todo: why do we only check this here? anyway to globally disable the listener for non-ts files if not is_typescript ( view ) : return EventHub . run_listeners ( "on_selection_modified" , view ) info = get_info ( view ) if info : self . on_selection_modified_with_info ( view , info )