findText.mark parameter

Use the findText.mark parameter to set or query whether the findText command will select the found text.

 

Availability

query command
set command
current parameter
default parameter
install parameter

 

Scope

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

 

Syntax

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

 

Parameters

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

 

Description

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

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

 

Examples

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

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