#NEWLINE# def on_query_completions( self , view , prefix , locations ) : #NEWLINE# #INDENT# if ( not view . match_selector ( locations [ 0 ] , 'embedding.cfml' ) ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# prefix_start = ( locations [ 0 ] - len ( prefix ) ) #NEWLINE# base_script_scope = 'embedding.cfml source.cfml.script' #NEWLINE# if view . match_selector ( prefix_start , 'embedding.cfml - source.cfml.script' ) : #NEWLINE# #INDENT# tag_completions = completions . get_tag_completions ( view , prefix , locations [ 0 ] ) #NEWLINE# return tag_completions #NEWLINE# #UNINDENT# if view . match_selector ( ( prefix_start - 1 ) , ( base_script_scope + ' punctuation.accessor.cfml' ) ) : #NEWLINE# #INDENT# completion_list = completions . get_dot_completions ( view , prefix , locations [ 0 ] ) #NEWLINE# return completion_list #NEWLINE# #UNINDENT# if view . match_selector ( prefix_start , ( ( ( base_script_scope + ' meta.tag, ' ) + base_script_scope ) + ' meta.class.declaration' ) ) : #NEWLINE# #INDENT# attribute_completions = completions . get_script_tag_attributes ( view , prefix , locations [ 0 ] ) #NEWLINE# return attribute_completions #NEWLINE# #UNINDENT# if view . match_selector ( prefix_start , 'embedding.cfml source.cfml.script' ) : #NEWLINE# #INDENT# completion_list = completions . get_script_completions ( view , prefix , locations [ 0 ] ) #NEWLINE# return completion_list #NEWLINE# #UNINDENT# return None