curran / curran/google-diff-match-patch

JS Patches are not consistent with C# patches

Open
#84 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
Python
Stars
17
Forks
2
PR merge metrics
No merged PRs in 30d

Description

```
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.