edoarsla / google-diff-match-patch

Automatically exported from code.google.com/p/google-diff-match-patch
Apache License 2.0
0 stars 0 forks source link

JS Patches are not consistent with C# patches #84

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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