Add some :commands for basic usages
This commit is contained in:
parent
04bb03da0a
commit
7456c26c2a
5 changed files with 67 additions and 21 deletions
|
|
@ -403,6 +403,9 @@ class DebugSession( object ):
|
|||
def ShowOutput( self, category ):
|
||||
self._outputView.ShowOutput( category )
|
||||
|
||||
def GetOutputBuffers( self ):
|
||||
return self._outputView.GetCategories()
|
||||
|
||||
def _SetUpUI( self ):
|
||||
vim.command( 'tabnew' )
|
||||
self._uiTab = vim.current.tabpage
|
||||
|
|
|
|||
|
|
@ -206,3 +206,6 @@ class OutputView( object ):
|
|||
tab_buffer.index,
|
||||
utils.Escape( category ),
|
||||
'*' if tab_buffer.flag else '' ) )
|
||||
|
||||
def GetCategories( self ):
|
||||
return [ category for category in self._buffers.keys() ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue