• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WebView find panel/bar implementation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: WebView find panel/bar implementation
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Setting position of CALayer doesn't animate
  • Next by Date: Re: WebView find panel/bar implementation
  • Previous by thread: Re: Setting position of CALayer doesn't animate
  • Next by thread: Re: WebView find panel/bar implementation
  • Index(es):
    • Date
    • Thread