

def next_region(self, regions, point):
    after = [r for r in regions if (self.view.line(r).begin() > point)]
    return (after[0] if after else regions[0])

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