You can use the settings in
Tools > Options > Text Editor > Micro Focus COBOL, and on the
Line Numbering page to configure the options for auto-inserting COBOL line numbers.
You can set the following options in the IDE for auto-inserting line numbers in your source code:
- COBOL (left-hand margin) increment (1 - 1000)
- Specify an increment for the COBOL margin. Numbers run down the left-hand side of the source.
- Standard (right-hand margin) increment (1 - 1000)
- Specify an increment for the standard line numbers. Numbers run down the right--hand side of the source. .
- Show warning dialog when source format is Free or Variable
- Enables a warning when the source code is not in fixed source format. This dialog is displayed when your source files use a free or variable source format and there might be valid code in the areas where renumbering and unnumbering insert or remove numbers.
The commands for renumbering the source code are available using the down arrow next to the renumber button,
, in the COBOL toolbar.