def find_range(buf, (row, col)):
    for offset, line in enumerate(buf[row - 1:]):
        if LineProperties(line).is_diff_range:
            return row + offset, col
    return row, col
Returns the row of the next diff range line, if one could be found, and the
dataset/ETHPy150Open hut8labs/diffscuss/diffscuss/support/editor.py/find_range