updateProfile.parser parameter

Use the updateProfile.parser parameter to set or query the document parser that is used by the updateProfile command.  The parser should be one of the parsers returned by the current.updateProfile.parsers parameter.

 

Availability

query command
set command
current parameter
default parameter
install parameter

 

Scope

updateProfile.parser is scoped to the current view.
current.updateProfile.parser is scoped to the current view.
default.updateProfile.parser is globally scoped.
install.updateProfile.parser is globally scoped.

 

Syntax

query updateProfile.parser
set updateProfile.parser { associated
                         | default
                         | [ parser ]
                         }
query current.updateProfile.parser
query default.updateProfile.parser
set default.updateProfile.parser { associated
                                 | install
                                 | [ parser ]
                                 }
query install.updateProfile.parser 

 

Parameters

associated If you specify the associated parameter for the set updateProfile.parser command, the updateProfile command will choose, for the current view, the parser based that is associated with the document's file name extension   If you specify the associated parameter for the set default.updateProfile.parser command, the updateProfile command will choose the parser that is associated with the document's file name extension for all document views that have updateProfile.parser set to default.  Parser associations are specified with the updateProfile.parserAssociation parameter.
default If you specify the default parameter for the set updateProfile.parser command, the current view will use the value of default.updateProfile.parser as the parser for the updateProfile command.
parser If you specify the parser parameter for the set updateProfile.parser command, the updateProfile command will use the parser indicated by parser within the current view.  If you specify the parser parameter for the set default.updateProfile.parser command, the updateProfile command will use the parser indicated by parser within all document views that have the updateProfile.parser set to default.  The parser you specify should be one of the parsers returned by the updateProfile.parsers parameter.
install If you specify the install parameter for the set default.updateProfile.parser command, all views with updateProfile.parser set to default will use the value of install.updateProfile.parser to determine the parser that should be used by the updateProfile command.

 

Description

The query current.updateProfile.parser command returns the parser that will be used, within the current view, by the updateProfile command.

 

Examples

query updateProfile.parser
set updateProfile.parser java
query current.updateProfile.parser
query default.updateProfile.parser
set default.updateProfile.parser associated
query install.updateProfile.parser 

Related reference
updateProfile command
query command
set command
current parameter
default parameter
install parameter
parseAfterEveryKey parameter
parser parameter
updateProfile.baseProfile parameter
updateProfile.noParser parameter
updateProfile.parserAssociation parameter
updateProfile.parsers parameter
updateProfile.userActions parameter
updateProfile.userCommands parameter
updateProfile.userKeyActions parameter
updateProfile.userMouseActions parameter
updateProfile.userProfile parameter