#NEWLINE# def run( self , edit ) : #NEWLINE# #INDENT# for sel in self . view . sel ( ) : #NEWLINE# #INDENT# pt = sel . begin ( ) #NEWLINE# cfml_only = self . view . match_selector ( self , 'string' ) #NEWLINE# last_open_tag = utils . get_last_open_tag ( self . view , ( pt - 1 ) , cfml_only ) #NEWLINE# if last_open_tag : #NEWLINE# #INDENT# self . view . insert ( edit , pt , ( ( '/' + last_open_tag ) + '>' ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . view . insert ( edit , pt , '/' )