Пример #1
0
	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)
Пример #2
0
 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)