To customize the way the results are presented onscreen, you must either:
select the Options option in the Actions menu,
click the button in the tool bar,
in the Global comparison dialog box.
This dialog box lets you customize the presentation characteristics of the comparison results and specify the Ignore spaces and tabs and Compare lists of associated objects settings, which are used during the source comparison and the object definition, respectively.
Check boxes
Ignore spaces and tabs
This setting is used during the source comparison procedure.
If the box is checked, any spaces or tabulations are ignored for the purpose of detecting differences between the lines in the sources.
You can only alter this setting when the comparisons have finished or been held.
Include last change date in source lines
This criterion is used when comparing sources.
Checked |
The last change date is displayed in the margin of each line of source. |
The box is only active if the selected object type corresponds to a source comparison.
Notes:
- The source code line differences calculation only takes into account the content of these lines and not their last change date.
- If two lines are identical, they will have the same last change date (corresponding to the source displayed on the right).
Sources structured for ADELIA programs
This setting is used during the source comparison procedure in ADELIA type programs.
Checked |
The source undergoes the same structured view transformation which can be used in the 4GL editor. |
Compare lists of related objects
This criterion is used when comparing the objects that belong to the CDM or LDM.
Checked |
The associated objects defined in the Parameters of a CDM and LDM Object Comparison dialog box will be included into the comparison. |
Lists
Process comments
This list displays the possible options for processing comments when converting an ADELIA source to display it in tree form. This list is only enabled if the "Structured sources for ADELIA programs" box is checked.
Managing comments consists in trying to intelligently reposition the comment boxes that precede a block at the top of the block itself.
The following options are possible:
Do nothing |
The comments will be left in place. This is the default behavior before the Adelia Studio 11 PTF07. |
In procedures and breaks |
The comments will be moved to the start of the next block if they are situated between an instruction at the end of the block (END_SFTKYS_PROC / END_PROCEDURE / END_PROCESSING) and the instruction at the start of the next block (SFTKYS_PROCESS / BEGIN_PROCEDURE / BREAK_PROCEDURE / TOTAL_PROCEDURE). In this mode, certain comments will not be repositioned, particularly if the block concerned directly follows an instruction block with no end marker (INITIALIZATION / TRANSACTION / VERIFICATION / VALIDATION). |
Throughout the source |
The process tries to detect and intelligently replace the comment boxes throughout the program's source. |
Colors
The use of a color code means that the different types of result returned by the comparison procedure are instantly identifiable.
Select the definition context for the text and background colors:
"Not compared" |
Comparison not yet performed |
"In progress" |
Comparison in progress. |
"Identical" |
The two objects are identical. |
"Different" |
The two objects are different. |
"Not found" |
The object does not exist in the second environment. |
"Failed" |
A database error occurred, causing the comparison to fail. |
Foreground
Consult the list and select the color to be used to display the text for the chosen context.
"System" |
This item corresponds to the text color defined at system level. |
"Other..." |
This item, at the end of the list, lets you open a color selection Windows system dialog box. When this dialog box is validated, the selected color is added to the Foreground list. |
Background
Consult the list and select the color to be used to display the text background for the chosen context.
"System" |
This item corresponds to the background color defined at system level. |
"Other..." |
This item, at the end of the list, lets you open a color selection Windows system dialog box. When this dialog box is validated, the selected color is added to the Background list. |
Data entry
Highlight the dates from
This criterion is used when comparing sources.
Date from which all last change dates of different lines only will be displayed with different text and background colors defined in the differences display interface options (defined in Highlighted date).
Caution: in order to change this reference date, the box before it needs to be checked. Then select the date, month or year and scroll using the arrows on the right or enter the date directly using the keyboard.
By default, this criterion takes the value of the most recent choice made on the workstation in any of the comparison tool's interfaces it appears in.
The date is only active if the selected object type corresponds to a source comparison and if the Include last change date in source lines box is checked and active.
Displayed data
Example
Shows the effect of the user's color choices on a sample text for the selected context.
Buttons
Default
Resets all settings with their default values, as shown below:
Ignore spaces and tabs |
checked |
|
Compare lists of assciated objects |
unchecked |
|
Colors |
|
|
|
Foreground |
Background |
"Not compared" |
|
|
"In progress" |
|
|
"Identical" |
|
|
"Different" |
|
|
"Not found" |
|
|
"Failed" |
|
|
OK
Validates the selections and closes the dialog box.
Cancel
Closes the dialog box without validating any choices made.