findText.replaceText parameter

The findText.replaceText parameter may be used to query or set the replacement text that will be used by the findText command.

Availability

query command
set command
current parameter
default parameter
install parameter

Scope

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

Syntax

query findText.replaceText
set findText.replaceText [ default | "text" ]
query current.findText.replaceText
query default.findText.replaceText
set default.findText.replaceText [ install | "text" ]
query install.findText.replaceText 

Parameters

default If you specify the default parameter for the set findText.replaceText command, the current view will use the value of default.findText.replaceText as the replacement text for the findText command.
text If you specify the text parameter for the set findText.replaceText command, the findText command will use text as the replacement text within the current view.  If you specify the text parameter for the set default.findText.replaceText command, the findText command will use text as the replacement text within all views that have findText.replaceText set to default.  If you are quoting the text parameter, you will need to ensure that all backslashes and imbedded quotes are quoted with a backslash.  e.g. to quote a"b\c you need to specify "a\"b\\c".
install If you specify the install parameter for the set default.findText.replaceText command, for all document views with findText.replaceText set to default, the findText command will use the value of install.findText.replaceText as the replacement text.

Description

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

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

The query current.findText.replaceText command will return the replacement text that the findText will use within the current view.

Examples

query findText.replaceText
set findText.replaceText "hello"
query current.findText.replaceText
query default.findText.replaceText
set default.findText.replaceText "hello"
query install.findText.replaceText 


findText command
query command
set command
current parameter
default parameter
findText.asis parameter
findText.block parameter
findText.columns parameter
findText.emphasis parameter
findText.endColumn parameter
findText.findText parameter
findText.mark parameter
findText.regularExpression parameter
findText.replaceText parameter
findText.startColumn parameter
findText.wrap parameter
install parameter