Text Comparisons

The controls on this page enable you to set options that apply to all file comparisons performed by the file and folder comparison windows.

Ignore differences in whitespace at the start of lines

Choose this option to ignore whitespace (spaces, tabs, carriage returns and line endings) at the start of lines when comparing files.

Ignore differences in whitespace at the end of lines

Check this option to ignore whitespace (spaces, tabs, carriage returns and line endings) at the end of lines when comparing files.

Treat consecutive whitespace as a single space

Check this option to ignore differences caused by the introduction of extra whitespace characters following an existing whitespace character.

Ignore all differences in whitespace

Check this option to ignore all whitespace (spaces, tabs, carriage returns and line endings) within lines when comparing files.

Ignore differences in character case

Check this option to make Merge ignore the case of characters within lines. This is particularly useful if you are comparing source code for case-insensitive programming languages.

Ignore differences in line ending characters (CR and LF)

Check this option to make Merge ignore differences between Windows-style line endings (CR LF), UNIX line endings (LF) and Macintosh line endings (CR) when comparing files.

Ignore characters in the following column numbers/ranges checkbox

Check this option to enable the column filters entered below.

Ignore characters in the following column numbers/ranges checkbox edit field

Enter the columns that you want ignored when comparing lines. Column numbers should be separated by commas. To specify a range of columns, use the format n-m. You can omit the second number in the range to leave the range open-ended, in which case the range extends to the end of the line. Columns are numbered starting from 1 (not 0).

For example:

1-8,10,12,14,80-

Note: tab characters are counted as a single column character, irrespective of any tab expansion options that have been set.

Numeric comparison tolerance

This field defines the tolerance used when comparing numerical values in text files whose type is defined as Text Comparison with Numeric Data on the File Types options page. Corresponding numeric values will be considered identical if they differ by an amount less than or equal to the value specified here.

For more information, see Comparing files with numeric data.