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

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

  • Follow-Ups:
    • Re: can't get NSTextFinder to show the find panel
      • From: Kevin Perry <email@hidden>
    • Re: can't get NSTextFinder to show the find panel
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Binding and multithreading
  • Next by Date: Re: Why so many public properties all up in my grizzle?
  • Previous by thread: Re: Binding and multithreading
  • Next by thread: Re: can't get NSTextFinder to show the find panel
  • Index(es):
    • Date
    • Thread