Florencesoft TextDiff finds the differences between text files, source code, xml, scripts and compares folders (directories) on Windows.

Finding New & Deleted Items In Lists

Florencesoft TextDiff was written with the original intention of finding the differences between text documents, source code, scripts and XML. However due to its many options, it can also be used to find out how one list differs from another.

Consider the two lists of countries below.

UK Japan
Malta Brazil
Spain Malta
USA Spain
France Germany
Malta UK

We can see that the country Malta has been duplicated in the first list. Duplications interfere with the process of finding out what has been added and deleted. Duplicates can be removed from both lists by using the functionality under the Duplicates menu. Each list has to be processed separately.

UK Japan
Malta Brazil
Spain Malta
USA Spain
France Germany
UK


Now that we have deleted the duplicate, we can find out how the two lists differ. Ensure Whole Paragraph/Line is selected on the Options dialog and that Show deleted and added text in different frames is selected on the main part of the user interface. Ensure Actively look for moved regions is checked. Hit Compare.

UK Japan
Malta Brazil
Spain Malta
USA Spain
France Germany
UK

We can see the results above. The UK is colored gray indicating it is in both lists, but has been moved from the top to the bottom. Malta and Spain are in both lists, were not reordered and so are displayed with black text.

USA Japan
France Brazil
Germany

The previous results were helpful, but there is just one more step. Select Don't show any identical paragraphs. Hit Compare. In the above results, we can see that all the countries in both lists have been omitted. USA and France were deleted from the first list and Japan, Brazil and Germany were added to the second list.