can't get NSTextFinder to show the find panel
can't get NSTextFinder to show the find panel
- Subject: can't get NSTextFinder to show the find panel
- From: Eric Slosser <email@hidden>
- Date: Fri, 23 Mar 2012 09:18:19 -0400
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 (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