def on_modified(self, view):
        if SETTINGS.get("verbose_tag_completions"):
            return
        if not SUBLIME_SETTINGS.get("auto_complete"):
            return
        sel = view.sel()[0].a

        # we're starting a new tag don't trigger auto_complete
        if "punctuation.definition.tag.cf.begin" in view.scope_name(sel):
            return

        if view.substr(sel - 1) == " ":
            if any(s in view.scope_name(sel) for s in self.valid_scopes_tags):
                t = view.settings().get("auto_complete_delay")
                sublime.set_timeout(lambda:
                    view.run_command("auto_complete", {
                                            'disable_auto_insert': True,
                                            'next_completion_if_showing': False,
                                            'api_completions_only': True}), t)
dataset/ETHPy150Open SublimeText/ColdFusion/coldfusiontagcompletions.py/TagAttributeAutoComplete.on_modified/original