Expand description
Text search engine for editor buffers.
Provides find and replace operations over UTF-8 text, using
neco_textview::LineIndex for line/column resolution.
Structs§
- Search
Match - A single search hit with its byte range and line/column position.
- Search
Query - Search parameters. Plain struct (parameter bag).
Enums§
- Search
Error - Errors produced by search operations.
Functions§
- find_
all - Find every occurrence of
queryintext. - find_
next - Find the first occurrence of
queryat or afterfrom_offset. - find_
previous - Find the last occurrence of
querywhose match ends at or beforeto_offset. - replace_
all - Replace every occurrence of
queryintextwithreplacement. - replace_
all_ ranges - Return every replacement as an original byte range plus expanded text.
- replace_
next - Replace the first occurrence of
queryat or afterfrom_offset.