使用 replaceText 指令來取代現行游標位置上的文字。
replaceText text
text | 使用 text 參數指定的文字將被用來取代現行游標位置上的文字。 |
status 參數不會受到這個指令的影響。
如果傳送到 replaceText 指令的文字包含行區隔字元 ("\r\n"、'\r' 或 '\n'),則會在文件中插入新行。
replaceText Some new text.
deleteText 指令
insertText 指令
text 參數
預設編輯器指令
Copyright IBM Corporation 1992, 2004. All Rights Reserved.