status parameter

Use the status parameter to set or query the command status.  Many editor commands set the status parameter after the command has completed to indicate completion information.  User-defined commands may wish to set the status parameter to indicate the command's completion status.

When the underlying implementation of an editor action calls an editor command, running the action may also set the status parameter.

Availability

query command
set command

Scope

Global.

Syntax

query status
set status value 

Parameters

value Use the value parameter to set the value of the command status.  There are no restrictions on value.  If no value is specified, the command status is cleared (set to null).

Examples

query status
set status save.failed
set status 

Related reference
query command
set command