Module selection_highlight_rect

Source
Expand description

Provides a rectangular highlight component for visually indicating selected regions, typically in text editors or similar UI elements. This module enables rendering of sharp-cornered, shadowless rectangles with configurable size and color, suitable for marking text selections or other highlighted areas. For multi-line or complex selections, multiple highlight rectangles can be composed to cover the desired region.

Functionsยง

selection_highlight_rect
Draws a rectangular highlight, typically used to indicate selected text regions in a text editor.