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 the find panel metadata property list.

NSFindPanelCaseInsensitiveSearch

A Boolean value indicating whether the search is case-insensitive.

NSFindPanelSubstringMatch

A number object containing the match type to use in the find panel.