Expand description
Layout engine for computing visible lines and soft wrapping.
This module handles:
- Viewport computation from buffer snapshots
- Soft wrapping (word wrap) with configurable width
- Line-level layout caching for performance
- Cursor position mapping across wrapped lines