The public NSTextFinder API doesn't provide a way for you to access the old-style find panel.
-KP On Mar 23, 2012, at 6:18 AM, Eric Slosser <eric.slos...@v-fx.com> wrote: > I'm trying to use the NSTextFinder object on Lion, from an app whose base SDK > is Tiger. > > I've created an instance of NSTextFinder, called its -setClient: method, my > client implements all methods of the NSTextFinderClient (using -string). My > client does _not_ do the NSTextFinderBarContainer protocol, I want to use the > panel. > > I expect that calling [m_textFinder > performAction:NSTextFinderActionShowFindInterface] would make the find panel > appear, but it doesn't. > > It's not the app or how it's built, because in another window, I have an > NSTextView, and it is able to show the panel. I've traced its calls and see > it's using NSTextFinder. > > What am I doing wrong? > > TIA! > _______________________________________________ > > 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/kperry%40apple.com > > This email sent to kpe...@apple.com _______________________________________________ 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