#NEWLINE# def handle_reply( self , tpe ) : #NEWLINE# #INDENT# self . logger . info ( ( 'EnsimeInspectTypeTooltip.handleReply: ' + str ( tpe ) ) ) #NEWLINE# markup = self . parse_tpe ( tpe , is_tooltip = True ) #NEWLINE# if tpe : #NEWLINE# #INDENT# font_size = sublime . load_settings ( 'Preferences.sublime-settings' ) . get ( 'font_size' , 14 ) #NEWLINE# self . w . active_view ( ) . show_popup ( '<div style=font-size:{0}px>{1}</div>' . format ( markup , markup ) , on_navigate = bind ( self . go_to_symbol ) , max_width = ( font_size * 80 ) , max_height = ( font_size * 4 ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . status_message ( 'Cannot find out type' )