Lines

The controls on this page enable you to set options that apply to lines in text 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

Choose 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

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

Ignore differences in character case

Select 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)

Select 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 number/ranges checkbox

Check this option to enable the column filters entered below.

Ignore characters in the following column number/ranges entry field

Enter the columns that you want ignored when comparing lines. Ignoring columns can be useful when comparing files that contain well-formatted tabular data, especially if you have difficulty constructing suitable regular expressions.

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.