multipleViews parameter

multipleViews is a convenience parameter for implementing multiple document views in an editor application.  The interpretation of this parameter and the actual window management are the application's responsibility.  Not all editor applications support multiple document views.

 

Availability

query command
set command
current parameter
default parameter
install parameter

 

Scope

multipleViews is scoped to the current view's document.
current.multipleViews is scoped to the current view's document.
default.multipleViews is globally scoped.
install.multipleViews is globally scoped.

 

Syntax

query multipleViews
set multipleViews [ default | on | off ]
query current.multipleViews
query default.multipleViews
set default.multipleViews [ install | on | off ]
query install.multipleViews 

 

Parameters

default If you specify the default parameter for the set multipleViews command, the editor application should use the value of default.multipleViews to determine whether to allow the opening of additional views on the current document.
on If you specify the on parameter for the set multipleViews command, the editor application should allow the opening of additional views on the current document.  If you specify the on parameter for the set default.multipleViews command, the editor application should allow the opening of additional views in all documents that have multipleViews set to default.
off If you specify the off parameter for the set multipleViews command, the editor application should not allow the opening of additional views on the current document.  If you specify the off parameter for the set default.multipleViews command, the editor application should not allow the opening of additional views in all documents that have multipleViews set to default.
install If you specify the install parameter for the set default.multipleViews command, the editor application should use the value of install.multipleViews to determine whether to allow the opening of additional views in all of the documents that have multipleViews set to default.

 

Description

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

The query current.multipleViews command returns on if the current view's document should allow opening additional views or off if the current document should not allow the opening of additional views.

 

Examples

query multipleViews
set multipleViews off
query current.multipleViews
query default.multipleViews
set default.multipleViews off
query install.multipleViews 

Related reference
query command
set command
current parameter
default parameter
install parameter
splitWindow parameter
splitWindow.orientation parameter