Fix typo: Baloon -> Balloon

This commit is contained in:
Ben Jackson 2021-01-08 22:48:34 +00:00
commit e5e13ffcdd
2 changed files with 5 additions and 5 deletions

View file

@ -634,7 +634,7 @@ def ParseVariables( variables_list,
return new_variables
def DisplayBaloon( is_term, display, is_hover = False ):
def DisplayBalloon( is_term, display, is_hover = False ):
if not is_term:
# To enable the Windows GUI to display the balloon correctly
# Refer https://github.com/vim/vim/issues/1512#issuecomment-492070685

View file

@ -322,7 +322,7 @@ class VariablesView( object ):
else:
watch.result.Update( message[ 'body' ] )
float_win_id = utils.DisplayBaloon( self._is_term, [], is_hover )
float_win_id = utils.DisplayBalloon( self._is_term, [], is_hover )
float_buf_nr = int( vim.eval( "winbufnr({})".format( float_win_id ) ) )
# since vim's popup cant be focused there is no way
@ -356,7 +356,7 @@ class VariablesView( object ):
def failure_handler( reason, message ):
display = [ reason ]
utils.DisplayBaloon( self._is_term, display, is_hover )
utils.DisplayBalloon( self._is_term, display, is_hover )
self._variable_eval = Watch.New( frame,
expression,
@ -628,11 +628,11 @@ class VariablesView( object ):
'Type: ' + body.get( 'type', '<unknown>' ),
'Value: ' + result
]
utils.DisplayBaloon( self._is_term, display )
utils.DisplayBalloon( self._is_term, display )
def failure_handler( reason, message ):
display = [ reason ]
utils.DisplayBaloon( self._is_term, display )
utils.DisplayBalloon( self._is_term, display )
# Send async request
self._connection.DoRequest( handler, {