Skip to main content

marks

Function marks 

Source
pub fn marks(
    old: &Rope,
    new: &Rope,
    changes: &[LineChange],
    inline: bool,
) -> Vec<(DiffMark, Range<usize>)>
Expand description

The ranges to mark: the original’s in old, the modified text’s in new. With inline the original is not shown, so it gets no marks.