diff-match-patch icon indicating copy to clipboard operation
diff-match-patch copied to clipboard

Diff Match Patch is a high-performance library in multiple languages that manipulates plain text.

Results 100 diff-match-patch issues
Sort by recently updated
recently updated
newest added

Changed QChar.toAscii() to QChar.toLatin1() so the code to works with Qt5

I try using The google diff-match-path library from nodejs for line diffs: https://github.com/google/diff-match-patch/wiki/Line-or-Word-Diffs. I get wrong patches when in sum the lines of both inputs goes beyond 65,536 (2^16) lines....

Hi, I quite often get different results if I call diff-match-patch from python3 by dmp = dmp_module.diff_match_patch() diff = dmp.diff_main(in, out) in comparison to the results provided by the demo...

Would be nice to wrap this great tool in a CLI, should not be too complicated especially for the python engine.

In the Javascript version, when using `diff_cleanupSemantic()`, some diffs result in the [semantic alignment loop](https://github.com/google/diff-match-patch/blob/master/javascript/diff_match_patch_uncompressed.js#L958-L971) being run many times. This happens when comparing a file containing a long chunk of...

For the following input: > This text is bold, underlined, italicized, Arial and has a different color and size. > This text is not bold, not underlined, not italicized, Calibri...

I am interested in using the Bitap algorithm in order to compute similarity between two strings. In my use case, I also need to get the score itself, however, the...

Is it possible to diff bytes in the Python3 library. I'm not able to. ``` jhogan@bastion:/usr/lib/python3/dist-packages/diff_match_patch$ python3 Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609] on linux Type...

Hi, The version of diff-match-patch on pypi is pretty out of date (2012-2013): https://pypi.org/project/diff-match-patch/ Do you have the ability to update this?

I want to generate a unified diff string but for only added lines / changes. I have a view that I want to either highlight added OR removed lines, but...