#NEWLINE# def select( self , info ) : #NEWLINE# #INDENT# '\n        Logging method for menu\n        ' #NEWLINE# if ( info [ 'index' ] < 0 ) : #NEWLINE# #INDENT# ActionHistory ( ) . add_action ( 'javatar.commands.menu.select' , 'Exit menu [from_sublime={from_sublime}]' . format_map ( info ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ActionHistory ( ) . add_action ( 'javatar.commands.menu.select' , 'Select item {index} [from_sublime={from_sublime}]' . format_map ( { #NEWLINE# #INDENT# 'index' : info [ 'items' ] [ info [ 'index' ] ] , #NEWLINE# 'from_sublime' : info [ 'from_sublime' ] , #NEWLINE# #UNINDENT# } ) )