Skip to content

[I] ReplaceTextCodeFixEdit

Replaces the inherited half-open range; an empty replacement deletes the range.

PropertyModifierTypeDescriptionInherited from
endreadonlynumberThe ending position measured in UTF-16 code units from the start of the full string. Exclusive.TextRange.end
filereadonlySourceFileSource snapshot to edit; range offsets refer to its original text.-
kindreadonly"replace-text"Selects replacement of a source range.-
posreadonlynumberThe starting position of the range measured in UTF-16 code units from the start of the full string. Inclusive.TextRange.pos
textreadonlystringReplacement text, or an empty string to remove the range.-