#NEWLINE# def check_for_empty_selection( self , * args ) : #NEWLINE# #INDENT# if ( not self . allow_empty_selection ) : #NEWLINE# #INDENT# if ( len ( self . selection ) == 0 ) : #NEWLINE# #INDENT# v = self . get_view ( 0 ) #NEWLINE# if ( v is not None ) : #NEWLINE# #INDENT# self . handle_selection ( args )