GerHobbelt/google-diff-match-patch

JS Patches are not consistent with C# patches

Opened this issue · 0 comments

Doing this in JS 

diff_match_patch.prototype.patch_make("Welcome to Orchard!", "Welcome to 
Orchard!l");

produces this...

[{\"diffs\":[[0,\"Welcome to Orchard!\"],[1,\"kk\"],[0,\"Welcome to 
Orchard!\"]],\"start1\":0,\"start2\":0,\"length1\":38,\"length2\":40}]


Where as in C#, it will produces a different set of patches, this causes errors 
when applying those patches in C#

Original issue reported on code.google.com by jetski5...@gmail.com on 10 Feb 2013 at 11:44