compare.ignoreAllBlanks parameter

The compare.ignoreAllBlanks parameter may be used to query or set whether differences in the number of blanks in a line are significant when comparing files with the compare command.

Availability

query command
set command

Scope

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

Syntax

query compare.ignoreAllBlanks
set compare.ignoreAllBlanks [default | on | off]
query current.compare.ignoreAllBlanks
query default.compare.ignoreAllBlanks
set default.compare.ignoreAllBlanks [install | on | off]
query install.compare.ignoreAllBlanks 

Parameters

default If you specify the default parameter for the set compare.ignoreAllBlanks command, the current view will use the value of default.compare.ignoreAllBlanks to determine if the compare command should ignore blanks in the line.
on If you specify the on parameter for the set compare.ignoreAllBlanks command, the compare command will ignore the presence of blanks in the line for the comparison in the current view.  If you specify the on parameter for the set default.compare.ignoreAllBlanks command, the compare command will ignore the presence of blanks in the line for comparisons in any of the document views that have compare.ignoreAllBlanks set to default.
off If you specify the off parameter for the set compare.ignoreAllBlanks command, the compare command will not ignore the presence of blanks in the line for the comparison in the current view.  If you specify the off parameter for the set default.compare.ignoreAllBlanks command, the compare command will not ignore the presence of blanks in the line for comparisons in any of the document views that have compare.ignoreAllBlanks set to default.
install If you specify the install parameter for the set default.compare.ignoreAllBlanks command, all of the document views that have compare.ignoreAllBlanks set to default will use the value of install.compare.ignoreAllBlanks to determine if the compare command should ignore the presence of blanks in the line.

Description

The query compare.ignoreAllBlanks command will return the blank comparison setting that will be used by the compare command.

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

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

The query current.compare.ignoreAllBlanks command will return on if, for the current view, the compare command will ignore blanks in the line, and off if, for the current view, the compare command will not ignore blanks in the line.

Examples

query compare.ignoreAllBlanks
set compare.ignoreAllBlanks on
query current.compare.ignoreAllBlanks
query default.compare.ignoreAllBlanks
set default.compare.ignoreAllBlanks off
query install.compare.ignoreAllBlanks 


compare command
query command
set command
current parameter
default parameter
install parameter
compare.ignoreCase parameter
compare.ignoreLeadingBlanks parameter
compare.ignoreTrailingBlanks parameter