• 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
Re: can't get NSTextFinder to show the find panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't get NSTextFinder to show the find panel


  • Subject: Re: can't get NSTextFinder to show the find panel
  • From: Kevin Perry <email@hidden>
  • Date: Fri, 23 Mar 2012 09:25:49 -0700

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 <email@hidden> 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 (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


_______________________________________________

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

References: 
 >can't get NSTextFinder to show the find panel (From: Eric Slosser <email@hidden>)

  • Prev by Date: Re: can't get NSTextFinder to show the find panel
  • Next by Date: Re: Missing header files/folders?
  • Previous by thread: Re: can't get NSTextFinder to show the find panel
  • Next by thread: UITableView lazy instantiation question
  • Index(es):
    • Date
    • Thread