• 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: Find Panel in TextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Find Panel in TextView


  • Subject: Re: Find Panel in TextView
  • From: Andreas Mayer <email@hidden>
  • Date: Mon, 3 May 2004 22:35:05 +0200

Am 03.05.2004 um 21:10 schrieb Andy Lee:

The Find Panel isn't a system-supplied thing like the pasteboard.

Actually, it is. From the Panther Release Notes:

"We now have a standard find panel, usable by NSTextView. The following two methods in NSTextView allow enabling/disabling the standard find panel:

- (void)setUsesFindPanel:(BOOL)flag;
- (BOOL)usesFindPanel;
By default newly created NSTextViews in IB have this attribute set, but for compatibility reasons programmatically created or already archived instances do not.

The following method is the generic action method for the find panel and find menu:

- (void)performFindPanelAction:(id)sender;
This is added to NSTextView, and can be overridden by views which want to provide their own find panel. The actual operation is determined by the tag values such as NSFindPanelActionNext, etc; see the enum NSFindPanelAction.

In 10.3 the find panel is meant for NSTextView use only, as there are no methods to provide the degree of reusability that would be needed for other clients to hook up to it."


Andreas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Find Panel in TextView
      • From: Andy Lee <email@hidden>
References: 
 >Find Panel in TextView (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Find Panel in TextView (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: Moving text-insertion point?
  • Next by Date: Detecting timezone changes?
  • Previous by thread: Re: Find Panel in TextView
  • Next by thread: Re: Find Panel in TextView
  • Index(es):
    • Date
    • Thread