Use the replaceText command 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 line delimiter characters ("\r\n", '\r', or '\n'), new lines will be inserted into the document.
replaceText Some new text.
Editor commands, actions, and parameters
deleteText command
insertText command
text parameter
Copyright IBM Corporation 1992, 2006. All Rights Reserved.