... drei vier Hallo Hello one two ... 5 vier Hallo Bon jour one two three four four
diff
Pretty Print
Diff
TextB
TextA
[[0,"... drei\nvier\n"],[-1,"Hallo\n"],[1,"Hello\n"],[0,"one\ntwo\n...\n5\nvier\n"],[-1,"Hallo\n"],[1,"Bon jour\n"],[0,"one\ntwo\nthree\n"],[-1,"four\n"],[1,"four"]]
eins zwei drei vier Hello one two three foureins zwei drei 1 2 3 4 5 vier Bon jour one two three four
eins zwei drei vier Hallo one two three foureins zwei drei 1 2 3 4 5 vier Hallo one two three four
google-diff-match-patch Example
[{"diffs":[[0,". drei\nvier\n"],[-1,"Hallo\n"],[1,"Hello\n"],[0,"one\ntwo\n...\n"]],"start1":2,"start2":2,"length1":30,"length2":30},{"diffs":[[0,"ier\n"],[-1,"Hallo\n"],[1,"Bon jour\n"],[0,"one\n"]],"start1":35,"start2":35,"length1":14,"length2":17},{"diffs":[[0,"ree\n"],[-1,"four\n"],[1,"four"]],"start1":58,"start2":58,"length1":9,"length2":8}]
@@ -3,30 +3,30 @@ . drei%0Avier%0A -Hallo%0A +Hello%0A one%0Atwo%0A...%0A @@ -36,14 +36,17 @@ ier%0A -Hallo%0A +Bon jour%0A one%0A @@ -59,9 +59,8 @@ ree%0A -four%0A +four
Patch
Textual Patch