Skip to content

[I] InsertTextCodeFixEdit

Inserts text at an offset without removing any existing characters.

PropertyModifierTypeDescription
filereadonlySourceFileSource snapshot to edit; its path identifies the output file.
kindreadonly"insert-text"Selects insertion rather than range replacement.
posreadonlynumberZero-based UTF-16 offset in the original file text.
textreadonlystringText to insert verbatim.