To remove line numbers from source code

You use the unnumber command to remove the COBOL line numbers from source code:

  1. Open a source file in the editor.
  2. Right-click the source code in the COBOL editor, and click Source > Unnumber. Alternatively, click Unnumber in the Eclipse toolbar.

    This removes any numbers and text that are in the area for the selected line numbering style.

For example, if you have configured the editor to use COBOL line numbering, unnumbering removes all text from the COBOL sequence area.

You can use Undo to revert the changes.

The style of the line numbers is specified in Window > Preferences > Micro Focus > COBOL > Editor > Line Numbering.