FixUp: Display in watch window, and indent in popup
This commit is contained in:
parent
cfae062da1
commit
f3c39e12ab
1 changed files with 2 additions and 3 deletions
|
|
@ -560,7 +560,7 @@ class VariablesView( object ):
|
||||||
else:
|
else:
|
||||||
icon = '+' if ( watch.result.IsExpandable() and
|
icon = '+' if ( watch.result.IsExpandable() and
|
||||||
not watch.result.IsExpanded() ) else '-'
|
not watch.result.IsExpanded() ) else '-'
|
||||||
marker = '*' if watch.result.changed else ' ',
|
marker = '*' if watch.result.changed else ' '
|
||||||
leader = ' Result: '
|
leader = ' Result: '
|
||||||
|
|
||||||
line = '{indent}{marker}{icon}{leader}{result}'.format(
|
line = '{indent}{marker}{icon}{leader}{result}'.format(
|
||||||
|
|
@ -575,8 +575,7 @@ class VariablesView( object ):
|
||||||
view.lines[ line ] = watch.result
|
view.lines[ line ] = watch.result
|
||||||
|
|
||||||
if watch.result.ShouldDrawDrillDown():
|
if watch.result.ShouldDrawDrillDown():
|
||||||
indent = 4
|
self._DrawVariables( view, watch.result.variables, indent + 2, is_short )
|
||||||
self._DrawVariables( view, watch.result.variables, indent, is_short )
|
|
||||||
|
|
||||||
def _ConsumeVariables( self, draw, parent, message ):
|
def _ConsumeVariables( self, draw, parent, message ):
|
||||||
new_variables = []
|
new_variables = []
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue