insertText command

Use the insertText command 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 line delimiter characters ("\r\n", '\r', or '\n'), new lines will be inserted into the document.

Examples

insertText hello 

Related concepts
Editor commands, actions, and parameters

Related reference
deleteText command
replaceText command
text parameter