bool search_term_highlighted(struct content *c, unsigned start_offset, unsigned end_offset, unsigned *start_idx, unsigned *end_idx, struct search_context *context)
Determines whether any portion of the given text box should be selected because it matches the curren...
void search_destroy_context(struct search_context *context)
Ends the search process, invalidating all state freeing the list of found boxes.
Content which corresponds to a single URL.
struct search_context * search_create_context(struct content *c, content_type type, void *context)
create a search_context
void search_step(struct search_context *context, search_flags_t flags, const char *string)
Begins/continues the search process.