moving stuff around

This commit is contained in:
dsych 2021-02-20 00:15:31 -05:00 committed by Ben Jackson
commit 44711899cb
2 changed files with 45 additions and 64 deletions

View file

@ -558,25 +558,6 @@ class DebugSession( object ):
return self._variablesView.VariableEval( frame, expression, is_hover )
@IfConnected()
def ShowTooltip( self, winnr, expression, is_hover ):
"""Proxy: ballonexpr -> variables.ShowTooltip"""
frame = self._stackTraceView.GetCurrentFrame()
# Check if RIP is in a frame
if frame is None:
self._logger.debug( 'Tooltip: Not in a stack frame' )
return ''
# Check if cursor in code window
if winnr != int( self._codeView._window.number ):
self._logger.debug( 'Winnr %s is not the code window %s',
winnr,
self._codeView._window.number )
return ''
# Return variable aware function
return self._variablesView.VariableEval( frame, expression, is_hover )
def _CleanUpTooltip( self ):
return self._variablesView._CleanUpTooltip()