Getting started comparing files
Meld lets you compare two or three text files side-by-side. You can start a new file comparison using the new comparison button on the toolbar.
Once you've selected your files, Meld will show them side-by-side. Differences between the files will be highlighted to make individual changes easier to see. Editing the files will cause the comparison to update on-the-fly. For details on navigating between individual changes, and on how to use change-based editing, see Dealing with changes.
Meld's file comparisons
There are several different parts to a file comparison. The most important parts are the editors where your files appear. In addition to these editors, the areas around and between your files give you a visual overview and actions to help you handle changes between the files.
On the right-hand side of the window, there are small vertical bars showing various colored blocks. These bars are designed to give you an overview of all of the differences between your files. Each colored block represents a section that is inserted, deleted, changed or in conflict between your files, depending on the block's color used.
In between each pair of files is a segment that shows how the changed sections between your files correspond to each other. You can click on the arrows in a segment to replace sections in one file with sections from the other. You can also delete, copy or merge changes. For details on what you can do with individual change segments, see Changing changes.
Saving your changes
Once you've finished editing your files, you need to save each file you've changed.
You can tell whether your files have been saved since they last changed by the save icon that appears next to the file name above each file. Also, if you have multiple comparisons open, their notebook labels will show an asterisk (*) after any file that hasn't been saved.
You can save the current file by selecting the save button above the file being compared, or using the Ctrl+S keyboard shortcut.
Saving only saves the currently focused file, which is the file containing the cursor. If you can't tell which file is focused, you can click on the file to focus it before saving.