#NEWLINE# def run( self , edit ) : #NEWLINE# #INDENT# self . window = sublime . active_window ( ) #NEWLINE# self . pos = self . view . sel ( ) [ 0 ] . begin ( ) #NEWLINE# self . boundary = self . view . word ( edit . pos ) #NEWLINE# self . word = self . view . substr ( self . boundary ) #NEWLINE# self . found = False #NEWLINE# for self . facade in facades : #NEWLINE# #INDENT# if ( self . facade . lower ( ) == self . word . lower ( ) ) : #NEWLINE# #INDENT# _open_facade_file ( self . window , facades [ self . facade ] ) #NEWLINE# self . found = True #NEWLINE# break #NEWLINE# #UNINDENT# #UNINDENT# if ( self . found == False ) : #NEWLINE# #INDENT# sublime . status_message ( ( "Facade '%s' not found" % self . word ) )