collaborative-editor
Version:
JSON CRDT str node bindings to any generic plain text editor.
23 lines • 666 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Selection = void 0;
class Selection {
constructor() {
/** Local selection start. */
this.start = null;
/** Local selection end. */
this.end = null;
/** Local selection direction. */
this.dir = 0;
/** Timestamp when selection last updated. */
this.ts = 0;
/** Model tick. */
this.tick = 0;
/** Remote selection start. */
this.startId = null;
/** Remote selection end. */
this.endId = null;
}
}
exports.Selection = Selection;
//# sourceMappingURL=Selection.js.map
;