webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Instance Methods | List of all members
<WebDocumentIncrementalSearching> Protocol Reference

#import <WebDocumentPrivate.h>

Inheritance diagram for <WebDocumentIncrementalSearching>:
WebHTMLView(WebDocumentPrivateProtocols) WebPDFView

Instance Methods

(BOOL- searchFor:direction:caseSensitive:wrap:startInSelection:
 

Method Documentation

◆ searchFor:direction:caseSensitive:wrap:startInSelection:()

- (BOOL) searchFor: (NSString *)  string
direction: (BOOL forward
caseSensitive: (BOOL caseFlag
wrap: (BOOL wrapFlag
startInSelection: (BOOL startInSelection 

searchFor:direction:caseSensitive:wrap:startInSelection: Searches a document view for a string and highlights the string if it is found.

Parameters
stringThe string to search for.
forwardYES to search forward, NO to seach backwards.
caseFlagYES to for case-sensitive search, NO for case-insensitive search.
wrapFlagYES to wrap around, NO to avoid wrapping.
startInSelectionYES to begin search in the selected text (useful for incremental searching), NO to begin search after the selected text.
Returns
YES if found, NO if not found.

The documentation for this protocol was generated from the following file: