两个文本、或两个字符串对比改变的字段高亮标红显示
要对文本文件的进行比较的时候,可以考虑使用google-diff-match-patch算法,diff-match-patch它可以对文本文件进行比较、匹配和生成补丁的操作。
他的官网是:http://code.google.com/p/google-diff-match-patch/
CSDN下载:http://download.csdn.net/detail/modern1314/5323399
要对文本文件的进行比较的时候,可以考虑使用google-diff-match-patch算法,diff-match-patch它可以对文本文件进行比较、匹配和生成补丁的操作。
他的官网是:http://code.google.com/p/google-diff-match-patch/
CSDN下载:http://download.csdn.net/detail/modern1314/5323399