def run(self, edit, event=None, at_point=False):
        global currentView
        view = self.view
        window = view.window()
        currentView = view
        if not languageExists():
            return
        tar = getTarHandler()
        symbol = None

        if at_point:
            symbol = view.substr(view.word(view.sel()[0]))

        files = list(docphp_languages[language]["symbolList"].keys())
        files.sort()

        def show(index):
            if index != -1:
                currentView.run_command('docphp_show_definition', {"symbol": files[index], "force": True})

        selected_index = -1
        if event:
            pt = view.window_to_text((event["x"], event["y"]))
            symbol, locations = sublime_symbol.symbol_at_point(view, pt)
            for prefix in ['function.', 'book.', 'class.']:
                try:
                    selected_index = files.index(prefix + symbol)
                    break
                except __HOLE__:
                    pass
        currentView.window().show_quick_panel(files, show, selected_index=selected_index)
dataset/ETHPy150Open acabin/docphp/docphp.py/DocphpSearchCommand.run