def find_file(self, filename, readonly=False, other=False): if other: lisp.find_file_other_window(filename) elif readonly: lisp.find_file_read_only(filename) else: lisp.find_file(filename)
def _goto_location(self, resource, lineno): if resource: if resource.project == self.project: lisp.find_file(str(resource.real_path)) else: lisp.find_file_read_only(str(resource.real_path)) if lineno: lisp.goto_line(lineno)