How to Compare The Files
You can specify several options when comparing files. The setting for the minimum match size will be
explained in detail later. 3 is a good default value.
You can choose to ignore differences in leading spaces and tabs. That is, when comparing two lines, EditPad
Pro will ignore any space and tab characters at the start of the lines. Similarly, you can choose to ignore
trailing spaces and tabs. That is, spaces and tabs at the end of a line. You can mark both options to ignore
both leading and trailing spaces and tabs. If you mark ´ignore all differences in spaces and tabsµ, then
EditPad Pro will ignore any spaces and tabs throughout both files when comparing their lines. These options
are useful when comparing files where differences in whitespace have little or no meaning.
If you turn on ´ignore added and removed blank linesµ, EditPad Pro will not add blank lines that occur only
in one of the two compared files to any new file created by the file comparison. Those lines will also not be
highlighted in the original files. Lines with only spaces and tabs will be considered to be blank only if you’ve
turned on one of the options to ignore differences in spaces and tabs.
Finally, ´ignore differences in caseµ tells EditPad Pro to ignore whether a character is uppercase or lowercase,
making ´Aµ identical to ´aµ.
What to Display
If you select to highlight changes in the original files, EditPad Pro will mark lines present in the ´oldµ or
´originalµ file in red when they are not present in the ´newµ or ´editedµ file. It will also mark lines in the
´newµ file in green when they are not present in the ´oldµ file. You can configure the "compare files: deleted
line´ and µcompare files: added line" colors in the Colors Preferences.
If you turn on ´new file with fully merged contentsµ, EditPad Pro will create a new tab with the two files
merged, based on their differences. The tab will be labeled ´OldFile compared with NewFileµ. Lines that are
identical in both files are added once and displayed on a normal background. Lines only present in the ´oldµ
file are added on a red background, and lines only present in the ´newµ file are added on a green background.
If the text on a line was changed between the ´oldµ and ´newµ versions of the file, EditPad Pro will first add
the old version of the line on a red background, and then the new version of the line on a green background.
If consecutive lines where changed, EditPad Pro will first add a block with the old versions of all the
consecutive lines, and then the new versions of the consecutive lines.
´New file with removed and added linesµ is the same as ´new file with fully merged contentsµ, except that
lines present in both the ´oldµ and ´newµ files are not added. Lines are highlighted red and green.
Consecutive changed lines are grouped in the same way. The tab will be labeled ´Differences between
OldFile and NewFileµ.
´New file with removed lines onlyµ contains a tab with lines that are present in the ´oldµ file, but not in the
´newµ file. Since all lines are old lines, none of them are highlighted. The tabs label will be ´Lines from
OldFile removed in NewFileµ.
Similarly, ´new files with added lines onlyµ creates a tab labeled ´Lines not in OldFile added to NewFileµ
with lines present in the ´newµ file, but not in the ´oldµ file.