pub(crate) fn matched_lines_indexes_for_hunk(
    matched_lines: &[(Option<LineNumber>, Option<LineNumber>)],
    hunk: &Hunk,
    num_context_lines: usize
) -> (usize, usize)
Expand description

Given a set of matched lines between the LHS and RHS, return the start and end indexes in matched_lines that should be displayed for hunk.