current parameter

Use the current parameter to determine the current value of a parameter.  Some of the editor parameters can have settings indicating that the value of the parameter should be taken from somewhere else.

For example, the block.defaultType parameter may be set to default.  If you want to know what the actual default block type is, you will need to query default.block.defaultType.  If default.block.defaultType is set to install, you will need to query install.block.defaultType. 

The current parameter will do all this for you, so you can query current.block.defaultType and will receive either stream, character, element, or rectangle.

 

Availability

query command

 

Scope

The current view.

 

Syntax

query current.parameter 

 

Parameters

parameter Use the parameter qualifier to specify the name of the editor parameter for which you wish to determine the current value.  Note that not all editor parameters have a current setting.

 

Examples

query current.block.defaultType 

Related reference
query command
set command
default parameter
install parameter
block.defaultType parameter
Editor parameters