Skip to main content

revert_edit

Function revert_edit 

Source
pub fn revert_edit(
    old: &Rope,
    new: &Rope,
    c: &LineChange,
) -> (Range<usize>, String)
Expand description

The edit to the modified text that puts change c’s original lines back.