Skip to content

Commit

Permalink
Deleted seperator line in WatchWindow.
Browse files Browse the repository at this point in the history
Without that line, more variables are visible at once in the DebuggerWatch window. The hierarchy is still visible via the indentation.
  • Loading branch information
georgjaehnig committed Sep 30, 2012
1 parent 3ed9194 commit fc653da
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions plugin/python/vdebug/ui/vimui.py
Expand Up @@ -460,24 +460,6 @@ def __render_property(self,p,next_p,last = False,indent = 0):
%{'indent':"".rjust((p.depth * 2)+indent),\
'marker':self.__get_marker(p),'name':p.display_name,\
'type':p.type_and_size(),'value':p.value}

depth = p.depth
if next_p and not last:
next_depth = next_p.depth
if depth == next_depth:
next_sep = "|"
num_spaces = depth * 2
elif depth > next_depth:
next_sep = "/"
num_spaces = (depth * 2) - 1
else:
next_sep = "\\"
num_spaces = (depth * 2) + 1

line += "".rjust(num_spaces+indent) + " " + next_sep + "\n"
elif depth > 0:
line += "".rjust((depth * 2) - 1 + indent) + " /" + "\n"

return line

def __get_marker(self,property):
Expand Down

0 comments on commit fc653da

Please sign in to comment.