Skip to main content

Module search

Module search 

Source
Expand description

Find, and find and replace, over text this crate does not hold.

SearchField is a query field, a hit count, and a way to step between hits. FindReplace puts a replacement field and two replace actions on top of the same field.

Neither searches anything. The text belongs to the caller, the matching rules belong to the caller, and so does the answer; the components report what the typist asked for and render the count the host established. See crate::display::highlight for the marking side of the same boundary and for exactly what a caller owes.

Structs§

FindReplace
A SearchField with a replacement field and the two replace actions.
SearchField
A query field, a hit count, and next and previous.

Enums§

FindReplaceEvent
What a find-and-replace surface reports. It replaces nothing.
HitCount
How many hits the host says the query has.
SearchFieldEvent
What a search field reports. It applies none of it.