Reputation:
I want to create a diff between two pieces of text (code but i may also want forum post) and highlight the difference in a webpage. What lib might i use to do that? I dont mind if highlighting is done in javascript. I am using asp.net with C#
Upvotes: 0
Views: 325
Reputation: 16762
You can use the DiffPlex library.
It is the same diff'ing library that is used by CodePlex.com to show source code diffs. You can see an example of its output here.
Upvotes: 2