compare.endColumn parameter

Use the compare.endColumn parameter to set or query the end 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.endColumn is scoped to the current view.
current.compare.endColumn is scoped to the current view.
default.compare.endColumn is globally scoped.
install.compare.endColumn is globally scoped.

 

Syntax

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

 

Parameters

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

 

Description

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

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

 

Examples

query compare.endColumn
set compare.endColumn 80
query current.compare.endColumn
query default.compare.endColumn
set default.compare.endColumn 100
query install.compare.endColumn 

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