insertText command

The insertText command can be used to insert text at the current cursor position.

Syntax

insertText text 

Parameters

text The text specified with the text parameter will be inserted into the document at the current cursor position.

Status

The status parameter is not affected by this command.

Description

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

Examples

insertText hello 


Editor commands and parameters


deleteText command
replaceText command
text parameter
Default editor commands