Use the following tips for editing text in the COBOL Editor:
If COBOL Annotations and Tools are enabled, 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 on the hyperlink opens the declaration in an editor.
. To
expand a collapsed division, click
. You can
preview a collapsed division by hovering the cursor over the expand
icon.The editor displays a horizontal ruler showing the right margin marked with the character R. You can use the COBOL > Editor preference page to also display margins A and B. The current cursor position in the file is highlighted in the ruler.
You can control several aspects of the appearance of files in the editor by using the Editor Presentation toolbar buttons:
Toggle Block Selection
Mode enables you to select a block of text. Enabling block
selection changes the editor font to a fixed-width font.
Show Whitespace Characters displays
a small dot for white-space characters and a paragraph mark for end-of-line
markers.
indicates that tooling is enabled.
All COBOL Editor functions are enabled.
indicates that tooling is disabled.
These functions can be disabled by user preference, because a file
is unavailable, or because of an invalid file extension. Tooling is
not available for copybooks (that is, files with a .cpy extension).
The following COBOL Editor functions are unavailable when tooling
is disabled: hover information, Refactor actions, Open Declaration,
Open Perform Hierarchy.
indicates
that tooling is out of sync because of a syntax error in the file.
This warning appears when syntax errors are introduced into an open
file. This warning icon is subject to change frequently as you edit
a file. The following COBOL Editor functions are unavailable or have
limited functionality: hover information data might be out of sync;
Refactor actions are unavailable; Open Declaration might work, but
the location you jump to may be out-of-sync; Open Perform Hierarchy
is unavailable.
indicates that
tooling is still initializing or has failed to initialize because
of a syntax error. This error occurs when a file containing syntax
errors is opened. The following COBOL Editor functions are unavailable:
hover information, Refactor actions, Open Declaration, Open Perform
Hierarchy.