Comparing files is easy. In the Navigator select file1.txt and file2.txt choose Compare With > Each Other from the context menu.
Well that wasn't very interesting. Right about now you are probably staring at a dialog like the one below, which tells us the two files are the same.
To make things a little more interesting edit file1.txt as follows:
delete line 1 "This is line 1."
change line 3 to be "This is a much better line 3."
insert a line 4a (before line 5) that reads "This is line 4a and it is new"
Your file (file1.txt) should now look like this:
This is line 2.
This is a much better line 3.
This is line 4.
This is line 4a and it is new
This is line 5.
Now we're really (honest we are) ready to do a compare. Once again select file1.txt and file2.txt and choose Compare With > Each Other in the Navigator's context menu.
A special compare editor opens. In the next section we will see how to use this compare editor.