search


Description:

public void search (string search_text, uint32 find_options, uint max_match_count)

Looks for search_text associated with this.

Looks for search_text in the WebView associated with this since the beginning of the document highlighting up to max_match_count matches. The outcome of the search will be asynchronously provided by the found_text and failed_to_find_text signals.

To look for the next or previous occurrences of the same text with the same find options use search_next and/or search_previous. The FindController will use the same text and options for the following searches unless they are modified by another call to this method.

Note that if the number of matches is higher than max_match_count then found_text will report g_maxuint matches instead of the actual number.

Callers should call search_finish to finish the current search operation.

Parameters:

this

the FindController

search_text

the text to look for

find_options

a bitmask with the FindOptions used in the search

max_match_count

the maximum number of matches allowed in the search