user34537
user34537

Reputation:

diff to web display?

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

Answers (2)

Matthew Manela
Matthew Manela

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

Lou Franco
Lou Franco

Reputation: 89232

I've used jsdifflib

Upvotes: 1

Related Questions