

def move_to_point(self, point):
    pointregion.view.sel().clear()
    self.view.sel().add(sublime.Region(point))
    (pointrow, _) = self.view.rowcol(point)
    pointstart = self.view.text_point(max((pointrow - 3), 0), 0)
    pointend = self.view.text_point((pointrow + 3), 0)
    pointregion = sublime.Region(pointstart, pointend)
    if (pointrow < 10):
        self.view.set_viewport_position((0.0, 0.0), False)
    elif (not self.view.visible_region().contains(pointregion)):
        self.view.show(pointregion, False)

dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/status.py GitStatusMoveCmd.move_to_point/VarMisuse@12/15 `self`->`pointregion`