[I] ReplaceTextCodeFixEdit
Replaces the inherited half-open range; an empty replacement deletes the range.
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
end | readonly | number | The ending position measured in UTF-16 code units from the start of the full string. Exclusive. | TextRange.end |
file | readonly | SourceFile | Source snapshot to edit; range offsets refer to its original text. | - |
kind | readonly | "replace-text" | Selects replacement of a source range. | - |
pos | readonly | number | The starting position of the range measured in UTF-16 code units from the start of the full string. Inclusive. | TextRange.pos |
text | readonly | string | Replacement text, or an empty string to remove the range. | - |