replaceText command

The replaceText command can be used to replace text at the current cursor position.

Syntax

replaceText text 

Parameters

text The text specified with the text parameter will be used to replace text at the current cursor position.

Status

The status parameter is not affected by this command.

Description

If the text passed to the replaceText command contains new line characters ('\n'), new lines will be inserted into the document.

Examples

replaceText Some new text. 


Editor commands and parameters


deleteText command
insertText command
text parameter
Default editor commands