NetSurf
|
Browseing window text search interface. More...
Go to the source code of this file.
Enumerations | |
enum | search_flags_t { SEARCH_FLAG_NONE = 0 , SEARCH_FLAG_CASE_SENSITIVE = (1 << 0) , SEARCH_FLAG_FORWARDS = (1 << 1) , SEARCH_FLAG_BACKWARDS = (1 << 2) , SEARCH_FLAG_SHOWALL = (1 << 3) } |
Functions | |
void | browser_window_search (struct browser_window *bw, void *context, search_flags_t flags, const char *string) |
Starts or continues an existing search. More... | |
void | browser_window_search_clear (struct browser_window *bw) |
Clear up a search. More... | |
Browseing window text search interface.
Definition in file search.h.
enum search_flags_t |
void browser_window_search | ( | struct browser_window * | bw, |
void * | context, | ||
search_flags_t | flags, | ||
const char * | string | ||
) |
Starts or continues an existing search.
bw | The browser_window to search. |
context | A context pointer passed to the callbacks. |
flags | Flags controlling the search operation. |
string | The string being searched for. |
Definition at line 37 of file search.c.
References content_textsearch(), and browser_window::current_content.
Referenced by ami_search_event(), nsatari_search_perform(), nsgtk_search_back_button_clicked(), nsgtk_search_entry_activate(), nsgtk_search_entry_changed(), nsgtk_search_forward_button_clicked(), ro_gui_search_click(), ro_gui_search_keypress(), and ro_gui_search_next().
void browser_window_search_clear | ( | struct browser_window * | bw | ) |
Clear up a search.
Frees any memory used by the search.
bw | The browser window to clean up the search for. |
Definition at line 47 of file search.c.
References content_textsearch_clear(), and browser_window::current_content.
Referenced by ami_search_close(), ami_search_event(), ami_search_open(), back_button_clicked_cb(), forward_button_clicked_cb(), nsatari_search_perform(), nsatari_search_session_create(), nsatari_search_session_destroy(), nsgtk_search_toggle_visibility(), reload_button_clicked_cb(), reloadstop_button_clicked_cb(), ro_gui_search_click(), ro_gui_search_end(), and ro_gui_search_keypress().