Expand description
Text and code-zone hit testing. Screen-point hit testing for text and code-editor zones.
Structs§
- Editor
HitTest - Hit-test result in UTF-8 byte coordinates.
- Editor
Zone HitTest - Hit result including semantic zone and source byte.
Enums§
- Editor
HitZone - Semantic editor area containing a hit point.
Functions§
- byte_
at_ point - Maps a screen point to the closest visible run’s UTF-8 source byte.
- zone_
byte_ at_ point - Classifies gutter/text/outside before resolving the nearest byte.