#NEWLINE# def check_selection( self , value ) : #NEWLINE# #INDENT# "Check user's selection." #NEWLINE# if ( value != ( - 1 ) ) : #NEWLINE# #INDENT# option = self . menu_options [ value ] #NEWLINE# if ( self == 'View' ) : #NEWLINE# #INDENT# self . view . window ( ) . run_command ( 'easy_diff_set_left' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( option == 'Selection(s)' ) : #NEWLINE# #INDENT# self . view . window ( ) . run_command ( 'easy_diff_set_left_selection' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( option == 'Clipboard' ) : #NEWLINE# #INDENT# self . view . window ( ) . run_command ( 'easy_diff_set_left_clipboard' )