Skip to main content

diff

Function diff 

Source
pub fn diff(
    old: &Rope,
    new: &Rope,
    options: DiffOptions,
    keep_going: &mut dyn FnMut() -> bool,
) -> Diff
Expand description

Diffs two texts by lines, then by chars inside changed blocks. keep_going is asked now and then; once it returns false the remaining work is done coarsely.