An implementation of Diff that works within the line.