数通智联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
592 B

2 years ago
import { Operation, Range } from '..';
/**
* `RangeRef` objects keep a specific range in a document synced over time as new
* operations are applied to the editor. You can access their `current` property
* at any time for the up-to-date range value.
*/
export interface RangeRef {
current: Range | null;
affinity: 'forward' | 'backward' | 'outward' | 'inward' | null;
unref(): Range | null;
}
export interface RangeRefInterface {
transform: (ref: RangeRef, op: Operation) => void;
}
export declare const RangeRef: RangeRefInterface;
//# sourceMappingURL=range-ref.d.ts.map