My latest work is this Silverlight control for discovering and visualizing the difference between two text files or just two strings that you copy and paste. You can choose files either by clicking on the file buttons and selecting them from the file dialogue or you can just drag and drop them in the boxes.

Demo is available here:

Unlike my previous post at where I just wanted to prove the concept that it is possible to implement the Longest Common Subsequence Algorithm in JavaScript, this app is optimized and capable to handle much bigger strings. It also can work with files.

The green color stands for changed, the blue for inserted and the red for deleted. If the text spreads beyond the visible screen on the left site you will see a line preview box that shows you where is located current window compare to the detected differences.

If any line on the resulting box spreads horizontally beyond the visible screen – you can scroll both boxes simultaneously.

As you can see Silverlight 4 demonstrates capabilities to develop highly per formant applications on the web, that were previously possible only on a desktop app.

Share this post:   digg     Stumble Upon     E-mail

Posted on 3/3/2011 6:47:29 AM

Hi Vladimir, I really like your Demo and I exactly need something like this! Do I have any chance to approach the Source-Code?

Vladimir Bodurov
Posted on 5/15/2011 3:39:50 AM
Gary Klepfer
Posted on 7/3/2011 7:52:01 PM

this is cooool!

Commenting temporarily disabled