def store_start_file(self): view = self.view region = view.sel()[0] fn = view.file_name() line, col = view.rowcol(region.a) BackPath.set_start((fn, line))
def run(self, text): if BackPath.is_valid(): current_path = BackPath.get_end() destination_path = BackPath.get_start() if (current_path and destination_path): BackPath.set_start(current_path) BackPath.set_end(destination_path) ProjectFile.show(destination_path)
def run(self, text): if BackPath.is_valid(): current_path = BackPath.get_end() destination_path = BackPath.get_start() if (current_path and destination_path): BackPath.set_start(current_path) BackPath.set_end(destination_path) ProjectFile.show(destination_path)