pub fn diff_lines(before: &str, after: &str) -> Vec<Line>Expand description
The text rung: the line-level comparison of two texts.
Only changed lines are carried, in document order; an unchanged line
yields nothing. The same inputs always yield the same lines. A carried
line strips its one trailing \n but keeps a \r — a CRLF conversion
stays visible — and a changed line without any trailing newline is
followed by NO_NEWLINE_MARKER.