For mending this flaw and others in one task, comparisons of the Synoptic Gospels may help which have been printed since 1776, see de.wikipedia.org/wiki/Synopse#Bibelforschung. They show similar phrases (or their locations) from different gospels side by side independent of their positions in the gospels, mentioning their locations. --
(1) If, in a Wikipedia comparison of versions, some text containing long words or rare words from the previous version is now missing in some place, an algorithm may search these words all over the previous version. If it finds something, it inserts a copy of the old text within the previous version side by side with the new gap, mentioning the line number where it was copied from. --
(2) Even after having used comparisons for years I do not yet know how to spot a numbered line. For each line number displayed, a link should lead there, viz. in the right column a file-internal link into the text displayed further down and perhaps in the left column a Wiki link to the nearest preceding headline. --
(3) By the way: When comparing, double square brackets should only be considered together with adjacent characters.