   If the selection spans a portion of the given line, return a (from, to) tuple.
        Otherwise, return None.
        r