Skip to content

TextEdit

TextEdit = object

Defined in: packages/core/src/string/apply-text-edits.ts:1

content: string

Defined in: packages/core/src/string/apply-text-edits.ts:12

The content to insert at the offset. If length is greater than 0, this content will replace the text at the offset.


length: number

Defined in: packages/core/src/string/apply-text-edits.ts:6

The length of the text to replace at the offset.


offset: number

Defined in: packages/core/src/string/apply-text-edits.ts:3

The offset in the source string where the edit should be applied.