Re: Implementing Find panel in WebView

2016-04-08 Thread Graham Cox
> On 8 Apr 2016, at 6:15 PM, Mike Abdullah wrote: > > WebKit’s open source. Go have a peek in there and sadly you’ll discover that > although the find panel API is declared, it’s never been implemented. Oh poop. Thanks, at least it explains why it does nothing! —Graham ___

Re: Implementing Find panel in WebView

2016-04-08 Thread dangerwillrobinsondanger
That's some dense source to dig through :) That said Dash seems to have done it. The author, Bogdan, is pretty nice. It might be worth asking him about his implementation in Dash. Sent from my iPhone > On Apr 8, 2016, at 5:15 PM, Mike Abdullah wrote: > > WebKit’s open source. Go have a peek

Re: Implementing Find panel in WebView

2016-04-08 Thread Mike Abdullah
WebKit’s open source. Go have a peek in there and sadly you’ll discover that although the find panel API is declared, it’s never been implemented. Mike. > On 8 Apr 2016, at 05:46, Graham Cox wrote: > > Hi, > > I’m using WebView in my app, and I see it implements -performFindPanelAction: > do

Implementing Find panel in WebView

2016-04-07 Thread Graham Cox
Hi, I’m using WebView in my app, and I see it implements -performFindPanelAction: doc says “this operates similarly to NSTextView”. So I hook up a button to it, with tag set to 1, which should be the ‘showFindPanel’ action tag. But nothing happens. Since all this magic is internal to WebView, a