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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com