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.
The range this operation should remove.
The new text this operation should insert after removing location
.
The position where the new text should be inserted.
The new text this operation should insert.
友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场
A complex edit that will be applied in one transaction on a TextEditor. This holds a description of the edits and if the edits are valid (i.e. no overlapping regions, document was not changed in the meantime, etc.) they can be applied on a document associated with a text editor.