All Tab key presses are converted into space characters, regardless of the setting that is defined by Insert spaces for tabs on the Text Editor preference page. The number of spaces that are inserted corresponds to the Displayed tab width setting on the Text Editor page. If a file contains a tab character, it is displayed as a single space, regardless of the Displayed tab width setting.
You can define custom tab stops for the COBOL Editor on the Editor preference page. The default tab settings for the COBOL Editor are columns 8, 12, 17 and every 4 characters after column 17.
Hyperlink detectors, as defined on the preference page, display elements as hyperlinks when you hold down the Ctrl key. Hovering the cursor over a field or paragraph name in the COBOL Editor and holding down the Ctrl key turns the text into a hyperlink. Clicking the hyperlink opens the declaration in an editor.
To
collapse a COBOL program division, click
. To expand a collapsed division, click
. You can preview a collapsed division by hovering
the cursor over the expand icon.
Hovering the cursor over a record, paragraph, section, COPY statement, or preprocessor statement causes the COBOL hover information to display the structure over the highlighted element. You can press F2 to display information for the selected structure. The hover information contains real-time syntax warnings if any exist. You can also obtain hover information in an open hover information window for COPY statements.
Hovering the cursor over the hover information, opens a toolbar at the bottom of the hover window. The toolbar provides for navigating the hover information and open the structure for editing. The toolbar also contains Open Declaration and Open Perform Hierarchy buttons. Open Perform Hierarchy is enabled only when the element is a paragraph or section language element. If the record has a warning or error annotation that is associated with it, the annotation text is displayed in the hover information.
If
the Show range indicator preference is enabled,
when the cursor is place on a line of code, the range of the code
structure is indicated by a vertical bar on the left side of the editor.
To show only the current range of code in the editor, click
Show
Source of Selected Element Only. The Show range
indicator preference is on the preference page.
If the editor tools are enabled, suggested changes are provided to resolve a warning or error annotation in the editor.
To obtain language-sensitive help for a source-code file open in the editor, highlight the element for which you need help, or place the cursor in the element, and press Ctrl+Shift+H. The product information center opens to the help topic for that element.