diff_text1 method
Compute and return the source text (all equalities and deletions).
diffs
is a List of Diff objects.
Returns the source text.
Implementation
String diff_text1(List<Diff> diffs) {
final text = StringBuffer();
for (Diff aDiff in diffs) {
if (aDiff.operation != Operation.insert) {
text.write(aDiff.text);
}
}
return text.toString();
}