Module input

Source
Expand description

Caret, selection, hit-test, IME, and scrolling primitives. Editor input geometry and selection primitives.

Re-exports§

pub use edit_action::EditorInputOutcome;
pub use hit_test::EditorHitTest;
pub use hit_test::EditorHitZone;
pub use hit_test::EditorZoneHitTest;
pub use selection::SelectionGranularity;

Modules§

caret
Caret rectangle helpers. Caret rectangle construction from shaped run geometry.
edit_action
Neutral edit outcomes. Adapter-neutral aggregation of lower-level text edit outcomes.
hit_test
Text and code-zone hit testing. Screen-point hit testing for text and code-editor zones.
ime
IME preedit display-buffer projection. Non-mutating IME preedit projection into display buffers.
scroll
Wrap-aware scrolling helpers. Wrap-aware scroll-axis selection and bounded offset updates.
selection
Selection ranges and paint geometry. Syntax-aware selection ranges and visual selection rectangles.