compare.startColumn parameter

Use the compare.startColumn parameter to set or query the start column that will be used by the compare command if the comparison is restricted to columns by current.compare.columns.

 

Availability

query command
set command
current parameter
default parameter
install parameter

 

Scope

compare.startColumn is scoped to the current view.
current.compare.startColumn is scoped to the current view.
default.compare.startColumn is globally scoped.
install.compare.startColumn is globally scoped.

 

Syntax

query compare.startColumn
set compare.startColumn [ default | n ]
query current.compare.startColumn
query default.compare.startColumn
set default.compare.startColumn [ install | n ]
query install.compare.startColumn 

 

Parameters

default If you specify the default parameter for the set compare.startColumn command, the current view will use the value of default.compare.startColumn for column-restricted comparisons with the compare command.
n If you specify the n parameter for the set compare.startColumn command, the compare command will use n as the start column for column-restricted comparisons within the current view.  If you specify the n parameter for the set default.compare.startColumn command, the compare command will use n as the start column for column-restricted comparisons within all document views that have compare.startColumn set to default.
install If you specify the install parameter for the set default.compare.startColumn command, all views with compare.startColumn set to default will use the value of install.compare.startColumn to determine the start column to be used by the compare command for column-restricted comparisons.

 

Description

If you do not specify any of the parameters for the set compare.startColumn command, default is assumed.  If you do not specify any of the parameters for the set default.compare.startColumn command, install is assumed.

The query current.compare.startColumn command returns the start column that will be used, within the current view, by the compare command for column-restricted comparisons.

 

Examples

query compare.startColumn
set compare.startColumn 1
query current.compare.startColumn
query default.compare.startColumn
set default.compare.startColumn 3
query install.compare.startColumn 

Related reference
compare command
query command
set command
compare.columns parameter
compare.endColumn parameter
compare.ignoreAllBlanks parameter
compare.ignoreCase parameter
compare.ignoreComments parameter
compare.ignoreLeadingBlanks parameter
compare.ignoreSequenceNumbers parameter
compare.ignoreTrailingBlanks parameter
current parameter
default parameter
install parameter