JSONPath Tools / @jsonpath-tools/jsonpath / TextChange
Class: TextChange
Represents a change of a text.
Constructors
new TextChange()
ts
new TextChange(range, newText): TextChange
Parameters
range
Range of the text that is removed.
newText
string
A text that is inserted in place of range.
Returns
TextChange
Properties
newText
ts
readonly newText: string;
A text that is inserted in place of range.
range
ts
readonly range: TextRange;
Range of the text that is removed.