These option apply only to file comparisons. To access these options, choose .
Below are the options available on the first page of the File Comparison node.
ASCII characters 0x01 to 0x20 are removed from the text.
Ignores all leading or trailing white space in a line.
Ignores differences in end-of-line CR LF separators when comparing files. There are Windows (CR LF), Unix (LF) and Mac (CR) line endings that can affect your file comparisons. This is especially useful if you are comparing files that have been generated on a variety of operating systems.
Ignores differences in character case within lines.
Inserts spaces instead of tabs.
Specifies the tab size.
Shows invisible characters in the editor panes, such as the trailing carriage return and/or line feed (CR LF) characters, and tabs and spaces.
This option does not affect the end-of-line characters used when files are saved -it only displays them visually in the editor pane. You can change the line endings using the Change Line Separator On Load, Use Line Separator On Enter, Change Line Separator On Copy, Change Line Separator On Paste, and Change Line Separator On Save Options.
Designates line separators. You can choose from Platform Specific, No Change, Windows, Unix, or Mac.
Determines the line separator to use whenever you enter a new line in the view pane. You can choose from Auto (need reload), Platform Specific, Windows, Unix, or Mac.
Determines the line separator that will be used in the copied text whenever you copy text in the view pane. You can choose from Platform Specific, No Change, Windows, Unix, or Mac.
This setting determines the line separator that will be used in pasted text. Using the combo box, you can choose from Auto (need reload), Platform specific, No change, Windows, Unix, or Mac.
Determines the line separator that will be used when saving changes. You can choose from Platform Specific, No Change, Windows, Unix, or Mac.
Changes the View pane editor font and size.
Displays line numbers on the left side of each of the editor panes.
Scrolls automatically to the first difference found in your file comparison.
Scrolls automatically to the beginning of the file in your file comparison.
Specifies an encoding value to apply to your files. The Default Encoding value is System-Dependent, and it is applied to any new files that you open in File Compare/Merge.
Changes the encoding automatically for files that you currently have loaded in File Compare/Merge. The value that you select for the encoding in the Default Encoding option is applied.
Specifies that if you replace the current file in a file comparison, the file that you open automatically inherits the encoding of the file that it is replacing. Without this setting activated, the file gets its encoding from the Default Encoding option.
Internally compare two files (or two versions of the same file) first to decide if they are the same. If they are the same, then prompts the user that "Files are identical. Continue opening diff?". These options let you use a different set of settings when doing this initial comparison, than when doing the comparison which is actually displayed.
Does not perform an initial comparison, and never displays a prompt. In this case, if you compare two identical files, FCM just launches and shows the files.
Performs a comparison which ignores the settings.
Performs a comparison which uses all the settings.
First performs a comparison ignoring the settings. If this comparison indicates there is a difference, the FCM performs another comparison using the settings. If the second comparison says there is a difference, then it prompts the user. The intent of this last option is to prompt if either type of comparison (Ignoring All Settings and Using All Settings) indicates that the files are the same.
Use this options to control how inline differences are handled.
Performs detailed inline comparisons on changed lines highlighting insertions, changes, and so on.
Compares and highlights differences inside a sequence of changed lines. All characters in the lines are scanned, and the text is divided by lines. You must enable Show Inline Differences to activate this option.
Compares the characters in each line with the characters in the opposite line. For example, characters in the first line of the sequence are compared with the characters in the first line of the opposite sequence, characters in the second line of the sequence are compared with the characters in the second line of the opposite sequence and so on. This option is automatically activated when you enable Show Inline Differences.
Splits lines into words (or lexemes) using standard separators, and compares them. You must enable Show Inline Differences to activate this option.
Enables you to Compare Lines By Characters, Compare Lines By Words, or Compare Lines By Words - Best Choice. The default setting is to compare lines at a granular level, by characters. Normally, File Compare/Merge presents sequences of differences for changed lines as a block. In other words, you can perform operations, such as Replace, Append, or Delete only on the block. If you have enabled this option, File Compare/Merge does not combine the sequences in a block. Instead it considers each pair of changed lines as a block. You must enable Show Inline Differences to activate this option.
Compares all pairs of lines and selects the best ones. You must enable Show Inline Differences to activate this option.
Represents the minimum number of characters between separators that is considered as a word. You must enable Show Inline Differences to activate this option.
Provides the criteria for File Compare/Merge to decide which lines should be considered a match and have their differences highlighted. The acceptance weight is equal to the number of hit words multiplied by 100, plus the total number of equal (matched) characters in the comparing lines. You must enable Show Inline Differences to activate this option.
Highlights the background of the different characters in the line. You must enable Show Inline Differences to activate this option.
The Highlight Characters option is not available with this option selected.
Crosses out the characters in the line to show differences.
You can also activate the Highlight Characters option along with this option.
Crosses out and highlights the characters in the line to show differences.
Underscores he characters in the line to show differences.
You can also activate the Highlight Characters option along with this option.
Underscores and highlights he characters in the line to show differences.
Changes the color within the line. You can set colors for both the right and left editor panes.
You can apply these settings to compare files at a more granular level.
Uses a special algorithm to finds swapped blocks and perform efficiently on large files, enabling you to use this option to improve performance when comparing large files. This option must be selected to enable the Detect swapped blocks option.
Detects swapped blocks of text. The Advanced Search Of Differences option must be selected to enable the Detect swapped blocks option, Hide Links Between Unselected Blocks, Shorten Differences, and Include Only Blocks With Unique Lines options are automatically selected by default with this option activated
Hides actual difference links between selected blocs. You can optionally activate this option when you activate Detect Swapped Blocks.
Hides links between unselected blocks. This option is activated by default if you choose to Detect Swapped Blocks.
Prevents Detect Swapped Blocks from creating expanded blocks (appending identical lines to blocks of changed lines).
Includes repeated blocks. You can optionally activate this option when you activate Detect Swapped Blocks.
Ignores repeated blocks. You can optionally activate this option when you activate Detect Swapped Blocks.
Ignores blocks not containing unique lines when a comparison is performed if Detect Swapped Blocks is activated.
Use this option page to edit a list of patterns (or regular expressions) that are used in file comparisons. These options are useful for filtering out unimportant changes that you do not necessarily want to see in the editor panes.
Patterns conform to the standard syntax of Regular Expressions. For examples, see http://www.regular-expressions.info/.
Allows you to ignore specified patterns during a file comparison. To ignore patterns, check this option, and then choose one or more options from the pattern list to ignore. You can also create new patterns using New to open the Ignorable Pattern dialog box where you can enter regular expression syntax to search for sequences of characters.
Allows you choose to glue lines that are empty, or that contain only braces. You can also modify the existing patterns, or add your own patterns.
For example, if you have three lines of differences that you want to move from file1.txt to file2.text, and those different lines are separated only by blank lines or lines with braces in them, without this option, you would have to resolve each line of difference separately.
When
Allow gluing of blocks separated by pattern-like lines is enabled AND a pattern ( custom or predefined ) is enabled, then AND ONLY THEN, the "Glue delimiter lines" button
is displayed in the FCM toolbar. Selecting this toolbar button merges the three lines of differences into a single difference, because the lines between the differences match the glue pattern of “empty line” specified in the FCM Pattern options. Now, it only takes one click of a button to move all three lines of differences from one file to the other.
Enables you to add new patterns, change existing patterns, or remove existing patterns. New and Change display the Patterns dialog box where you define the pattern.
Uses New and Change to display the a dialog box where you define a pattern.
In the Glue Pattern dialog box , you also have an option to add file extension(s) to apply the glue pattern to. If you are applying the glue pattern to more than one file type, separate them with commas. For example: java, cpp, c, h, hpp.
Specifies the name for the pattern. The name displays in the corresponding pattern/glue list exactly as you enter it in the dialog.
Specifies the pattern (expression). You can use regular expression syntax. For example, ^[\t]*//.*$ or [{}\s]*.
Provides a place to type sample test text.
Displays the results after performing a pattern test.
Applies the pattern to the sample test text. The results display in the text box on the right of the dialog.
The Report Transformer options page enables you to define new transformers, edit existing transformers, or remove transformers from the list. These options are available whenever you choose to generate a report (click Generate Report in the toolbar). You can choose to use an empty transformer, use one of the predefined transformers, or create your own.
Displays the list of report transformers available for use in transforming XML files to various outputs.
Allows you to add, view, or edit a report transformer XSL file using the Report Transformer Configuration dialog box.
Allows you to remove a selected report transformer from the list.
Use the Color Preferences to control the colors displayed for file comparisons in the editor panes. Changes to the colors apply to each of the editor panes.
Assign distinct background colors to aid in identifying differences and similarities in files. This option displays a list of the types of text that can be color coded in the File Compare/Merge window. The Background Color button automatically changes colors to reflect the type of text selected. The text preview area shows the current color configuration settings. You can change the background color for the following types of text:
– Unchanged text line
– Changed text line
– Inserted text line
– Deleted text line
– Conflict text line
– Transposed text line
– Transposed and changed text line
– Transposed inserted text line
– Frozen text line. Note that this is also referred to as Made change (Advanced merge mode) in the Text type drop down list . This type of text represents lines in the non-result panes that have been merged.
Displays the color of the selected Text Type. This button also launches the Select Color dialog box where you can specify a different color.