Skip to main content

Module window

Module window 

Source
Expand description

Window layout management for solver3/text3

This module provides the high-level API for managing layout state across frames, including caching, incremental updates, and display list generation.

The main entry point is LayoutWindow, which encapsulates all the state needed to perform layout and maintain consistency across window resizes and DOM updates.

Re-exports§

pub use crate::managers::text_input::PendingTextEdit;

Structs§

CallbackChangeResult
Result of applying callback changes
DirtyTextNode
A text node that has been edited since the last full layout. This allows us to perform lightweight relayout without rebuilding the entire DOM.
DomLayoutResult
Result of a layout pass for a single DOM, before display list generation
LayoutResult
Result of a layout operation
LayoutWindow
A window-level layout manager that encapsulates all layout state and caching.
NoCursorDestination
Error when no cursor destination is available
ScrollbarDragState
State for tracking scrollbar drag interaction
TextConstraintsCache
Cached text layout constraints for a node These are the layout parameters that were used to shape the text

Enums§

CursorBlinkTimerAction
Action to take for the cursor blink timer when focus changes
CursorMovementResult
Result of a cursor movement operation
CursorNavigationDirection
Direction for cursor navigation
ScrollMode
Scroll animation mode
SelectionScrollType
Type of selection bounds to scroll into view
TextEditType

Functions§

cursor_blink_timer_callback
Callback for the cursor blink timer