difft::diff::sliders

Function novel_regions_after_unchanged

Source
fn novel_regions_after_unchanged<'a>(
    nodes: &[&'a Syntax<'a>],
    change_map: &ChangeMap<'a>,
) -> Vec<(usize, usize)>
Expand description

Return the start and end indexes of sequences of novel nodes that occur after unchanged nodes.