#NEWLINE# def has_selection( self ) : #NEWLINE# #INDENT# for sel in self . view . sel ( ) : #NEWLINE# #INDENT# ( start , end ) = sel #NEWLINE# if ( start != end ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# #UNINDENT# return False