The sequence number area can be used to label a source
statement line. The content of this area can consist of any character
in the character set of the computer.
For COBOL files, the sequence number area is columns 1 - 6. The
identification area spans eight columns starting at Margin R. Enabling
the
Sequence Number preference, text can be
kept in the identification area when you edit a file. Additionally,
there are several other options you can select related to managing
text in the sequence number and identification areas of your file.
- Smart copy
- Text in the sequence number and identification areas is replaced
by spaces when you copy the text. If Insert sequence numbers into
new lines option is enabled, lines that are pasted into the file are
renumbered.
- Smart Join Lines
- Text in the sequence number and identification area and trailing
white spaces are deleted when lines are joined.
- Insert sequence numbers into new lines
- Sequence numbers are inserted when adding new lines to a file.
The location of the sequence numbers is determined by the Start numbering
at column 1 option.
- Resequence numbers when necessary
- Sequence numbers are renumbered when there is not enough available
numbers at the location where new lines are being pasted. This feature
requires the Insert sequence numbers into new lines preference
to be enabled.
- Start Numbering at Column 1
- Sequence numbers are inserted and removed from the sequence number
area when the Start Numbering at Column 1 preference
is enabled. If disabled, sequence numbers are inserted and removed
form the identification area when using the Renumber and Unnumber actions.
Limitations
The basic Eclipse behavior for
the following actions have not been modified to support the sequence
number actions.
- Snippets View interaction
- Templates View interaction
- Typing into the editor in block selection mode when the block
selection spans multiple lines
- Typing onto a line that is a collapsed, folded region
- Find and Replace with Regular Expressions enabled
- Dragging and Dropping of Text Selections
- The Join Lines command (ctrl+alt+j)
- The Move Lines Down command (alt+down)
- The Move Lines Up command (alt+up)
- The Duplicate Lines command (ctrl+alt+up)
Also, for Template Content Assist, Linked Mode will not be activated
on substitution variables after template insertion.