findText.emphasis parameter

Use the findText.emphasis parameter to set or query whether the findText command will emphasize the found text.

 

Availability

query command
set command
current parameter
default parameter
install parameter

 

Scope

findText.emphasis is scoped to the current view.
current.findText.emphasis is scoped to the current view.
default.findText.emphasis is globally scoped.
install.findText.emphasis is globally scoped.

 

Syntax

query findText.emphasis
set findText.emphasis [ default | on | off ]
query current.findText.emphasis
query default.findText.emphasis
set default.findText.emphasis [ install | on | off ]
query install.findText.emphasis 

 

Parameters

default If you specify the default parameter for the set findText.emphasis command, the current view will use the value of default.findText.emphasis to decide whether the findText command should emphasize the found text.
on If you specify the on parameter for the set findText.emphasis command, the findText command will emphasize the found text within the current view.  If you specify the on parameter for the set default.findText.emphasis command, the findText command will emphasize the found text within all the views that have findText.emphasis set to default.
off If you specify the off parameter for the set findText.emphasis command, the findText command will not emphasize the found text within the current view.  If you specify the off parameter for the set default.findText.emphasis command, the findText command will not emphasize the found text within all the views that have findText.emphasis set to default.
install If you specify the install parameter for the set default.findText.emphasis command, all views with findText.emphasis set to default will use the value of install.findText.emphasis to determine if the findText command should emphasize the found text.

 

Description

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

The query current.findText.emphasis command returns on if, for the current view, the findText command is emphasizing the found text.  The query current.findText.emphasis command returns off if, for the current view, the findText command is not emphasizing the found text.

 

Examples

query findText.emphasis
set findText.emphasis off
query current.findText.emphasis
query default.findText.emphasis
set default.findText.emphasis on
query install.findText.emphasis 

Related reference
findText command
query command
set command
current parameter
default parameter
emphasisLength parameter
findText.asis parameter
findText.block parameter
findText.columns parameter
findText.endColumn parameter
findText.findText parameter
findText.mark parameter
findText.regularExpression parameter
findText.replaceText parameter
findText.startColumn parameter
findText.wholeWord parameter
findText.wrap parameter
install parameter