Skip to main content

next_change

Function next_change 

Source
pub fn next_change(
    changes: &[LineChange],
    line: usize,
    forward: bool,
) -> Option<usize>
Expand description

The first line of the next change after line in the modified text (or the previous one before it), wrapping around; None without changes.