Skip to main content

MergeTreeRevertibleDriver Interface

WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.

Signature

export interface MergeTreeRevertibleDriver

Methods

Method Alerts Return Type Description
annotateRange(start, end, props) Alpha void
insertFromSpec(pos, spec) Alpha void
removeRange(start, end) Alpha void

Method Details

annotateRange

WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.

Signature

annotateRange(start: number, end: number, props: PropertySet): void;

Parameters

Parameter Type Description
start number
end number
props PropertySet

insertFromSpec

WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.

Signature

insertFromSpec(pos: number, spec: IJSONSegment): void;

Parameters

Parameter Type Description
pos number
spec IJSONSegment

removeRange

WARNING: This API is provided as an alpha preview and may change without notice. Use at your own risk.

Signature

removeRange(start: number, end: number): void;

Parameters

Parameter Type Description
start number
end number