Expand description
Extensible hook system and input interceptors.
Structs§
- Auto
Pairs Hook - Built-in hook that automatically inserts closing quotes, brackets, and braces, wraps selected text, and steps over closing pairs.
- Hook
Context - The mutable editing context passed to editor hooks during events.
- KeyEvent
- A normalized keyboard event passed to editor hooks.
- Modifiers
- Keyboard modifier keys state.
- Search
Snapshot - Owned snapshot of a hook’s search panel for renderers.
Enums§
- Cursor
Style - The visual style of the text cursor.
- Hook
Outcome - The outcome of an editor hook handling an event.
Traits§
- Editor
Hook - Trait for intercepting input events, mutating buffer state, and extending editor behaviors.