The replaceText command can be used to replace text at the current cursor position.
replaceText text
text | The text specified with the text parameter will be used to replace text at the current cursor position. |
The status parameter is not affected by this command.
If the text passed to the replaceText command contains new line characters ('\n'), new lines will be inserted into the document.
replaceText Some new text.
deleteText command
insertText command
text parameter
Default editor commands