def act_jump_to(self, loc): view = gs.active_valid_go_view(self.window) if view: row, col = gs.rowcol(view) if loc.row != row: self.log_bookmark(Loc(view.file_name(), row, col)) self.goto(loc)
def jump_to(self, a): view, loc = a row, col = gs.rowcol(view) if loc.row != row: self.log_bookmark(view, Loc(view.file_name(), row, col)) self.goto(loc)