Type Editor / @type-editor/model / replace
replace
Classes
| Class | Description |
|---|---|
Error type raised by This error is thrown when:
Example typescript |
Functions
| Function | Description |
|---|---|
Replace a range of content between two resolved positions with a slice. This is the main entry point for performing document replacements. Throws If the slice's open depth is invalid or inconsistent with the positions. |