Python sublime_plugin.TextInputHandler() Examples

The following are 2 code examples of sublime_plugin.TextInputHandler(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module sublime_plugin , or try the search function .
Example #1
Source File: symbols.py    From LSP with MIT License 5 votes vote down vote up
def input(self, _args: Any) -> sublime_plugin.TextInputHandler:
        return SymbolQueryInput() 
Example #2
Source File: rename.py    From LSP with MIT License 5 votes vote down vote up
def input(self, args: dict) -> Optional[sublime_plugin.TextInputHandler]:
        if "new_name" not in args:
            return RenameSymbolInputHandler(self.view)
        else:
            return None