eo-typewriterjs / TSelectEvent
Type Alias: TSelectEvent
ts
type TSelectEvent = TBaseEvent & object;Defined in: core/events/types/select-event.type.ts:20
Type Declaration
| Name | Type | Defined in |
|---|---|---|
time | number | core/events/types/select-event.type.ts:21 |
cursorId | string | core/events/types/select-event.type.ts:22 |
boundary? | "start" | "end" | "whole" | core/events/types/select-event.type.ts:23 |
count | number | core/events/types/select-event.type.ts:24 |
by | TAdvanceModeInput | core/events/types/select-event.type.ts:25 |
sourceCommandId | string | core/events/types/select-event.type.ts:26 |
Description
A scheduled event that sets the active document selection.
When boundary is present it takes precedence:
"start": select from cursor to document start"end": select from cursor to document end"whole": select the entire document
When boundary is absent the reducer uses count and by:
- positive
countselects forward; negativecountselects backward
This event is instant - it does not consume any timeline duration.