

def move_to_item(self, which=1, where=None):
    if (which in ('next', 'prev')):
        point = self.get_first_point()
        regions = self.get_status_lines()
        if (point and regions):
            next = self.next_or_prev_region(which, regions, point)
            self.move_to_region(next)

dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/status.py GitStatusMoveCmd.move_to_item/original