Class TextChangeRange

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(span: TextSpan, newLength: number): TextChangeRange

Parameters

Returns

TextChangeRange

Properties

private _newLength: any

private _span: any

public static unchanged: TextChangeRange

Methods

public static collapseChangesAcrossMultipleVersions(changes: TextChangeRange[]): TextChangeRange

Parameters

Returns

TextChangeRange

public static collapseChangesFromSingleVersion(changes: TextChangeRange[]): TextChangeRange

Parameters

Returns

TextChangeRange

public isUnchanged(): boolean

Returns

boolean

public newLength(): number

Returns

number

public newSpan(): TextSpan

Returns

TextSpan

public span(): TextSpan

Returns

TextSpan