hackerxian / 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

Feature request: Google Code style output #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Would be nice to have a method that print a diff like Google Code does:
http://code.google.com/p/google-diff-match-patch/source/diff?spec=svn85&r=85&for
mat=side&path=/trunk/javascript/diff_match_patch_uncompressed.js#sc_svn83_240

The changed lines are highlighted. The diff_prettyHtml method doesn't do that.

Original issue reported on code.google.com by alter.EL...@gmail.com on 11 Feb 2011 at 1:45

GoogleCodeExporter commented 8 years ago
Renderers are beyond the scope of this project.  diff_prettyHtml is (as the API 
states) just indented to give you a working example, so that you can build your 
own renderer.  No two projects have the same requirements, so it would be 
pointless for DMP to try to provide renderers.

Original comment by neil.fra...@gmail.com on 11 Feb 2011 at 7:45

GoogleCodeExporter commented 8 years ago
Issue 90 has been merged into this issue.

Original comment by neil.fra...@gmail.com on 10 Jul 2013 at 3:39