FindController.countMatches

void countMatches(string searchText, uint findOptions, uint maxMatchCount)

Counts the number of matches for search_text.

Counts the number of matches for search_text found in the #WebKitWebView with the provided find_options. The number of matches will be provided by the #WebKitFindController::counted-matches signal.

Parameters

searchTextthe text to look for
findOptionsa bitmask with the #WebKitFindOptions used in the search
maxMatchCountthe maximum number of matches allowed in the search