Find Panel Search Metadata

In addition to communicating search strings via the find pasteboard, the standard Find panel for NSTextView also communicates search option metadata, including case sensitivity and substring matching options. This metadata is stored in a property list as the NSFindPanelSearchOptionsPboardType value on the global find pasteboard. As such, third party applications may store additional keys in this property list to communicate additional metadata as desired to support the various search options common to many third-party applications' Find panels.

Topics

Constants

NSFindPanelSearchOptionsPboardType

Type for NSFindPanel metadata property list. Used with the NSPasteBoard method propertyListForType:.

NSFindPanelCaseInsensitiveSearch

Boolean value specifying whether the search is case-insensitive. YES specifies a case-insensitive search; otherwise, NO.

NSFindPanelSubstringMatch

NSNumber object containing one of the values defined in NSFindPanelSubstringMatchType.