#NEWLINE# def get_tag_name( view , pos ) : #NEWLINE# #INDENT# tag_scope = 'meta.tag.cfml - punctuation.definition.tag.begin, meta.tag.custom.cfml - punctuation.definition.tag.begin, meta.tag.script.cfml, meta.tag.script.cf.cfml' #NEWLINE# tag_name_scope = 'entity.name.tag.cfml, entity.name.tag.custom.cfml, entity.name.tag.script.cfml' #NEWLINE# tag_regions = view . find_by_selector ( tag_scope ) #NEWLINE# tag_name_regions = view . find_by_selector ( tag_name_scope ) #NEWLINE# for ( tag_region , tag_name_region ) in zip ( tag_regions , tag_name_regions ) : #NEWLINE# #INDENT# if tag_region . contains ( pos ) : #NEWLINE# #INDENT# return view . substr ( tag_name_region ) . lower ( ) #NEWLINE# #UNINDENT# #UNINDENT# return None