def prev_region(self, regions, point):
        before = [r for r in regions if self.view.line(r).end() < point]
        return before[-1] if before else regions[-1]
dataset/ETHPy150Open SublimeGit/SublimeGit/sgit/status.py/GitStatusMoveCmd.prev_region/original