| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> |
| <HEAD> |
| |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| |
| <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
| <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> |
| |
| <LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css"> |
| <title>Simple compare</title> |
| |
| </HEAD> |
| <BODY BGCOLOR="#ffffff"> |
| <h3> |
| Simple compare</h3> |
| <p CLASS="Head"> In one of the navigation views select file1.txt and file2.txt |
| choose <b>Compare With > Each Other</b> from the context menu. </p> |
| <p CLASS="Head"> A dialog will appear indicating that the two files are the same. </p> |
| <p CLASS="Head"><img src="../images/Image80_compare.png" alt="Compare popup" border="0" ></p> |
| <p CLASS="Head">Edit file1.txt as follows:</p> |
| <ul> |
| <li> |
| delete line 1 "<i>This is line 1."</i></li> |
| <li> |
| change line 3 to be "This is a much better line |
| 3."</li> |
| <li> |
| insert a line 4a (before line 5) that reads "This is |
| line 4a and it is new" </li> |
| </ul> |
| <p CLASS="Head">The file (file1.txt) should now read as follows: </p> |
| <blockquote> |
| <p><i>This is line 2.<br> |
| This is a much better line 3.<br> |
| This is line 4.<br> |
| This is line 4a and it is new<br> |
| This is line 5.</i></p> |
| </blockquote> |
| <p>Save the contents of the file by choosing <b>File > Save</b> (or pressing |
| Ctrl+S).</p> |
| <p>To compare the files, once again select file1.txt and file2.txt and choose |
| <b>Compare With > Each Other</b> in the navigation view context menu.</p> |
| <p>A special compare editor opens. The next section will explain how to use this |
| compare editor.</p> |
| <blockquote> |
| <P><img src="../images/Image80_compare_editor.png" alt="Compare Editor" border="0" > |
| </P> |
| |
| |
| </blockquote> |
| |
| |
| |
| |
| </BODY> |
| </HTML> |