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 findPanelSearchOptions 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.



static let findPanelSearchOptions: NSPasteboard.PasteboardType

Type for NSFindPanel metadata property list. Used with the NSPasteBoard method propertyList(forType:).

static let findPanelCaseInsensitiveSearch: NSPasteboard.PasteboardType.FindPanelSearchOptionKey

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