pub fn diff_edit(old: &str, new: &str) -> EditExpand description
The edit currency, defined in the sibling edit module and re-exported
here so parser::Edit stays the path the parser layer uses.
The edit currency, defined in the sibling edit module and re-exported
here so parser::Edit stays the path the parser layer uses.
The edit currency, defined in the sibling edit module and re-exported
here so parser::Edit stays the path the parser layer uses.
Recover a single contiguous Edit from a pair of full texts by stripping
the common prefix and suffix. Multiple disjoint edits collapse into one
spanning edit — still a correct transform, just coarser. Boundaries are
clamped to char boundaries of both texts.