pub fn highlight(haystack: &str, query: &str) -> Vec<u32>Expand description
Character positions in haystack that the query matched, for highlighting.
Called only for the rows actually on screen, so its cost does not scale with the size of the library.