maintainSequenceNumbers parameter

Use the maintainSequenceNumbers parameter to set or query whether the current document's sequence numbers should be automatically maintained.  Sequence numbers are defined with the sequenceNumbers parameter.

When sequence numbers are being maintained, the numeric part is kept in ascending sequential order while the document is edited.  If, when maintainSequenceNumbers is set to on, the document's sequence numbers are not in order, the resequence command will be issued and the document's sequence numbers will be reordered starting at 100 and incrementing at intervals of 100.  When sequence numbers are being maintained, the sequence-numbers text part of new or modified lines is set to the text specified by the sequenceDefaultText parameter.

 

Availability

query command
set command

 

Scope

The current view's document.

 

Syntax

query maintainSequenceNumbers
set maintainSequenceNumbers { on | off } 

 

Parameters

on If you specify the on parameter, the document's sequence numbers are maintained.
off If you specify the off parameter, the document's sequence numbers are not maintained.

 

Examples

query maintainSequenceNumbers
set maintainSequenceNumbers on 

Related reference
query command
resequence command
set command
sequenceDefaultText parameter
sequenceNumber parameter
sequenceNumbers parameter
sequenceNumbersFormat parameter
sequenceText parameter