예제 #1
0
 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)
예제 #2
0
파일: gspalette.py 프로젝트: ski/GoSublime
	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)
예제 #3
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)