Use a prompt buffer for adding watches
This very new feature makes it kind of nice to add new watches in the place where they will appear, keeping the eye in the same screen location.
This commit is contained in:
parent
b9ceb5e8ec
commit
920db068c6
7 changed files with 54 additions and 9 deletions
|
|
@ -48,7 +48,7 @@ class StackTraceView( object ):
|
|||
self._currentThread = None
|
||||
self._threads = []
|
||||
with utils.ModifiableScratchBuffer( self._buf ):
|
||||
self._buf[:] = None
|
||||
utils.ClearBuffer( self._buf )
|
||||
|
||||
def ConnectionClosed( self ):
|
||||
self.Clear()
|
||||
|
|
@ -88,7 +88,7 @@ class StackTraceView( object ):
|
|||
self._line_to_thread.clear()
|
||||
|
||||
with utils.ModifiableScratchBuffer( self._buf ):
|
||||
self._buf[:] = None
|
||||
utils.ClearBuffer( self._buf )
|
||||
|
||||
for thread in self._threads:
|
||||
icon = '+' if '_frames' not in thread else '-'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue