Inheritance diagram for encode.vim.Handler:
Public Member Functions | |
def | __init__ |
def | set_command |
def | set_mode |
def | get_view |
def | get_action |
def | supports_file |
def | open_file |
def | close_file |
def | cleanup |
Public Attributes | |
conf | |
executor | |
action | |
Static Public Attributes | |
command = DEFAULT_COMMAND | |
mode = None |
Definition at line 33 of file vim.py.
def encode.vim.Handler.__init__ | ( | self | ) |
def encode.vim.Handler.close_file | ( | self, | ||
path | ||||
) |
Close the buffer associated with PATH if one exists.
Reimplemented from encode.environment.HandlerExtension.
def encode.vim.Handler.get_action | ( | self | ) |
def encode.vim.Handler.open_file | ( | self, | ||
path, | ||||
workdir = None , |
||||
line = None | ||||
) |
Open file PATH for editing or bring the associated buffer to foreground if one exists. Attempt to move the cursor to LINE if it's specified. WORKDIR is the root of the project tree where PATH is located (it may be used to update the handler's state).
Reimplemented from encode.environment.HandlerExtension.
def encode.vim.Handler.supports_file | ( | self, | ||
path | ||||
) |
Return True if the file type of PATH is supported by this handler.
Reimplemented from encode.environment.HandlerExtension.
encode.vim.Handler.command = DEFAULT_COMMAND [static] |
encode.vim.Handler.mode = None [static] |