Finding in a WebView
Finding in a WebView
- Subject: Finding in a WebView
- From: Daryle Walker <email@hidden>
- Date: Tue, 07 Oct 2014 18:38:11 -0400
When I implemented source-viewing for my web-browser (as independent windows), I added the “for free” find capability, using the “inside the top of the scroll-view” mode. How can I implement something similar for WebView-s? When I looked over find-panels, I read mentions of the new API being able to attach to a scroll-view. But WebView instances use a built-in scroll-view, instead of the separate scroll-view object you get with a text-view in Interface Builder. Is there a way get a WebView’s internal NSScrollView? (Doing this would also let me implement optimized green-button zooming.) This would also need the WebView to always generate a scroll-view, even when the main content completely fits in the window.
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
_______________________________________________
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