[Webkit-unassigned] [Bug 16222] [GTK] Implement inline search and highlighting of matching strings.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 5 09:25:21 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16222





------- Comment #11 from aroben at apple.com  2007-12-05 09:25 PDT -------
Here's the relevant SPI from the Mac port (WebDocumentInternal.h):

@protocol WebMultipleTextMatches <NSObject>
- (void)setMarkedTextMatchesAreHighlighted:(BOOL)newValue;
- (BOOL)markedTextMatchesAreHighlighted;
- (WebNSUInteger)markAllMatchesForText:(NSString *)string
caseSensitive:(BOOL)caseFlag limit:(WebNSUInteger)limit;
- (void)unmarkAllTextMatches;
- (NSArray *)rectsForTextMatches;
@end

Perhaps we should consider the form of the API a bit more before landing it,
since APIs are hard to change once they exist.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list