lspeasy / core/src / IncrementalChange
Interface: IncrementalChange
Defined in: packages/core/src/utils/document.ts:102
Represents a single incremental text document change.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
range | Range | The range in the document that was replaced. | packages/core/src/utils/document.ts:104 |
rangeLength? | number | Optional deprecated length of the replaced range, used by some servers for backwards compat. | packages/core/src/utils/document.ts:108 |
text | string | The new text that replaced the range. | packages/core/src/utils/document.ts:106 |