def METHOD_NAME(self):
    widget = self.get_widget()
    editor = self.get_plugin(Plugins.Editor)
    widget.sig_edit_goto_requested.connect(
        lambda filename, lineno, search_text, colno, colend: editor.load(
            filename, lineno, start_column=colno, end_column=colend))
    editor.sig_file_opened_closed_or_updated.connect(
        self.set_current_opened_file)