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)