parseAfterEveryKey parameter

Use the parseAfterEveryKey parameter to set or query whether the document parser should be called after every key action.  A parser is normally triggered automatically for changes to the document only when a line is completed.  This parameter allows you to have the document parser called after each key is typed.

 

Availability

query command
set command
current parameter
default parameter
install parameter

 

Scope

parseAfterEveryKey is scoped to the current view.
current.parseAfterEveryKey is scoped to the current view.
default.parseAfterEveryKey is globally scoped.
install.parseAfterEveryKey is globally scoped.

 

Syntax

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

 

Parameters

default If you specify the default parameter for the set parseAfterEveryKey command, the current view uses the value of default.parseAfterEveryKey to determine whether the document parser should be called after every key action.
on If you specify the on parameter for the set parseAfterEveryKey command, the document parser used in the current view is called automatically after every key action.  If you specify the on parameter for the set default.parseAfterEveryKey command, the parser is called after every key action in all views that have parseAfterEveryKey set to default.
off If you specify the off parameter for the set parseAfterEveryKey command, the document parser used in the current view is only called when the changes to a line have completed.  If you specify the off parameter for the set default.parseAfterEveryKey command, the parser is only called once the changes to a line have completed in all views that have parseAfterEveryKey set to default.
install If you specify the install parameter for the set default.parseAfterEveryKey command, all of the views that have parseAfterEveryKey set to default use the value of install.parseAfterEveryKey to determine whether the document parser should be called after every key action or not.

 

Description

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

The query current.parseAfterEveryKey command returns on if the parser used in the current view is called after every key action or off if the parser is only called once the changes to a line have completed.

 

Examples

query parseAfterEveryKey
set parseAfterEveryKey on
query current.parseAfterEveryKey
query default.parseAfterEveryKey
set default.parseAfterEveryKey off
query install.parseAfterEveryKey 

Related reference
query command
set command
current parameter
default parameter
install parameter
parser parameter
updateProfile.parser parameter