Expand description
Vim-style / search. A pane feeds Search its rows as (row index, text); the search holds the query, matches, and active match, and drives
incremental highlight + n/N navigation. Matching is plain substring with
smartcase: case-insensitive unless the query has an uppercase letter.
Structs§
- Match
- A byte range within row
row’s text. The row index is the pane’s own, the one it uses to move its cursor and to key its rendered rows. - Search
Functions§
- find_
matches - Plain-substring matches with smartcase. Byte ranges index the original row text: ASCII case-folding preserves byte length, so a fold-space match maps back unchanged.