• 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: How to activate Find and Replace for Textview?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to activate Find and Replace for Textview?


  • Subject: Re: How to activate Find and Replace for Textview?
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 28 May 2009 13:03:19 -0700

On Thu, May 28, 2009 at 12:11 PM, archana udupa <email@hidden> wrote:
>   Thanks in advance for those who can help me..:)I have subclass of
> textview. I want to add find and replace menu items.How can i do that?

Look at the default Edit:Find:Find… menu item.  It's wired up to First
Responder's -performFindPanelAction: method.  The documentation for
this (NSTextView) method describes how it works.  Basically, when you
send an NSTextView -performFindPanelAction:, it asks the sender for
its tag.  This tag must be one of the NSFindPanelAction constants
(listed in the documentation), and its value determines what the text
view does.

--Kyle Sluder
_______________________________________________

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: 
 >How to activate Find and Replace for Textview? (From: archana udupa <email@hidden>)

  • Prev by Date: Re: How to get the selected popupmenu item with core data
  • Next by Date: Re: Triggering change notifications when modifying custom object ivars in core data app
  • Previous by thread: How to activate Find and Replace for Textview?
  • Next by thread: Re: How to activate Find and Replace for Textview?
  • Index(es):
    • Date
    • Thread