Perform diff on RTF and preview changes
I am looking to compare two RTF files and provide a way of highlighting the differences. Does anybody know of anyway I can do this? The project is a .net project, however worst case, I'm sur开发者_JAVA技巧e I could implement an unmanaged app.
Thanks
I'd say that depends.
If you just want to view the difference between the RTF "code", i.e. the plain textfiles, you could employ a library like DiffPlex.
If you want some WYSIWYG view, i.e. including formatting, etc., you could actually use Word (via Automation). Much like TortoisSVN (xdocdiff) does it.
精彩评论