Popular recipes by Anton Butanaev http://code.activestate.com/recipes/users/4175501/2010-10-29T10:48:15-07:00ActiveState Code RecipesPatch/diff file viewer with highlighting (Python)
2010-10-29T10:48:15-07:00Anton Butanaevhttp://code.activestate.com/recipes/users/4175501/http://code.activestate.com/recipes/577436-patchdiff-file-viewer-with-highlighting/
<p style="color: grey">
Python
recipe 577436
by <a href="/recipes/users/4175501/">Anton Butanaev</a>
(<a href="/recipes/tags/cvs/">cvs</a>, <a href="/recipes/tags/diff/">diff</a>, <a href="/recipes/tags/git/">git</a>, <a href="/recipes/tags/gui/">gui</a>).
Revision 4.
</p>
<p>diff shows difference in files in whole lines. Sometimes those lines are very similar, only one or two words changed. This script compares changed lines by characters and highlights actual differences in them.</p>