Insert text at a location.
You can use \r\n or \n in value
and they will be normalized to the current document.
Although the equivalent text edit can be made with replace, insert
will produce a different resulting selection (it will get moved).
The position where the new text should be inserted.
The new text this operation should insert.
Replace a certain text region with a new value.
You can use \r\n or \n in value
and they will be normalized to the current document.
Delete a certain text region.