Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diff has trouble with this article #46

Closed
GoogleCodeExporter opened this issue Jul 15, 2015 · 3 comments
Closed

Diff has trouble with this article #46

GoogleCodeExporter opened this issue Jul 15, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

On the diff demo I tried comparing edits in an article and it's highlighting 
most of the text, instead of the minor changes.

http://neil.fraser.name/software/diff_match_patch/svn/trunk/demos/demo_diff.html

text for left box: http://dl.dropbox.com/u/4055661/text1.txt
text for right box: http://dl.dropbox.com/u/4055661/text2.txt

Original issue reported on code.google.com by spac...@gmail.com on 27 Apr 2011 at 8:03

@GoogleCodeExporter
Copy link
Contributor Author

Interesting.  I have not seen this issue before.  Even with the timeout set to 
0 and cleanup switched off, the diff is a no-op.  Will check this out...

Thank you.

Original comment by neil.fra...@gmail.com on 28 Apr 2011 at 10:26

  • Added labels: Priority-High
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Contributor Author

Confirmed.  This affects all versions.  Technically there's no bug, but this is 
clearly not expected behaviour.  As a simple workaround, turn off the line-mode 
speedup by passing False as the third argument to diff_main.

Working on finding a good solution...

Original comment by neil.fra...@gmail.com on 13 May 2011 at 10:35

@GoogleCodeExporter
Copy link
Contributor Author

This is identical to Issue 38.  Let's see if we can solve this once and for all.

Original comment by neil.fra...@gmail.com on 13 May 2011 at 11:20

  • Changed state: Duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant