Currently the word by word diff seems not to be computed on lines, in which the first word has been changed, even if it's the same line in the text. Thus even if only the first word has been changed in a paragraph, the whole paragraph is displayed as changed. It would be great if in such a case the algorithm checked, whether the previous and next paragraphs match, and if so, compute word by word diff for the paragraph between them.

Comments

alan d.’s picture

Status: Active » Closed (works as designed)

The DiffEngine is now in core (Drupal 8.x) so I am not going to alter this unless either this is done in D8 first or D8 changes to another comparison tool.