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 中文文档 | 官网文档
Generated by TypeDoc
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.