TextEdit
TextEdit =
object
Defined in: packages/core/src/string/apply-text-edits.ts:1
Properties
Section titled “Properties”content
Section titled “content”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
Section titled “length”length:
number
Defined in: packages/core/src/string/apply-text-edits.ts:6
The length of the text to replace at the offset.
offset
Section titled “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.