WebView find panel/bar implementation
WebView find panel/bar implementation
- Subject: WebView find panel/bar implementation
- From: "email@hidden" <email@hidden>
- Date: Tue, 02 Apr 2013 12:43:59 +0100
I provide some app documentation in both RTF and MarkDown and switch in an NSTextView or WebView for display as required.
Text view searching works well using the NSTextFinder find bar.
However, implementing a WebView find panel/bar seems difficult.
- (void)performFindPanelAction:(id)sender is still not implemented - ref: https://bugs.webkit.org/show_bug.cgi?id=3640
Current WebKit source still documents this as unimplemented - ref: https://trac.webkit.org/browser/trunk/Source/WebKit/mac/WebView/WebHTMLView.mm
Some swizzling however can be effective - ref : http://www.taffysoft.com/pages/20120908-01.html
So this can be investigated.
But I don't see much in way of integrating NSTextFinder and WebView. The NSTextFinderClient protocol is quite extensive, which might explain why.
Does anyone have any further insight into this?
Jonathan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden