use simpler UI setup commands
This commit is contained in:
parent
05b855e605
commit
de2a924c38
1 changed files with 4 additions and 8 deletions
|
|
@ -479,8 +479,7 @@ class DebugSession( object ):
|
||||||
# Call stack
|
# Call stack
|
||||||
with utils.TemporaryVimOptions( { 'splitright': False,
|
with utils.TemporaryVimOptions( { 'splitright': False,
|
||||||
'equalalways': False, } ):
|
'equalalways': False, } ):
|
||||||
vim.command( 'topleft 50vspl' )
|
vim.command( 'topleft vertical 50new' )
|
||||||
vim.command( 'enew' )
|
|
||||||
self._stackTraceView = stack_trace.StackTraceView( self,
|
self._stackTraceView = stack_trace.StackTraceView( self,
|
||||||
self._connection,
|
self._connection,
|
||||||
vim.current.buffer )
|
vim.current.buffer )
|
||||||
|
|
@ -489,13 +488,11 @@ class DebugSession( object ):
|
||||||
'eadirection': 'ver',
|
'eadirection': 'ver',
|
||||||
'equalalways': True } ):
|
'equalalways': True } ):
|
||||||
# Watches
|
# Watches
|
||||||
vim.command( 'spl' )
|
vim.command( 'new' )
|
||||||
vim.command( 'enew' )
|
|
||||||
watch_win = vim.current.window
|
watch_win = vim.current.window
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
vim.command( 'spl' )
|
vim.command( 'new' )
|
||||||
vim.command( 'enew' )
|
|
||||||
vars_win = vim.current.window
|
vars_win = vim.current.window
|
||||||
|
|
||||||
self._variablesView = variables.VariablesView( self._connection,
|
self._variablesView = variables.VariablesView( self._connection,
|
||||||
|
|
@ -507,8 +504,7 @@ class DebugSession( object ):
|
||||||
vim.current.window = self._codeView._window
|
vim.current.window = self._codeView._window
|
||||||
|
|
||||||
# Output/logging
|
# Output/logging
|
||||||
vim.command( '10spl' )
|
vim.command( '10new' )
|
||||||
vim.command( 'enew' )
|
|
||||||
self._outputView = output.OutputView( self._connection,
|
self._outputView = output.OutputView( self._connection,
|
||||||
vim.current.window,
|
vim.current.window,
|
||||||
self._api_prefix )
|
self._api_prefix )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue