I am interested in overriding the default find/replace dialog which comes up from the performFindPanelAction method. I want to add additional things you can search for like text color and text style/format.
How would I go about doing this?
I am interested in overriding the default find/replace dialog which comes up from the performFindPanelAction method. I want to add additional things you can search for like text color and text style/format.
How would I go about doing this?
Override performFindPanelAction:
in some class in the responder chain. In your override, if [sender tag]
is NSTextFinderActionShowFindInterface
, present your custom find panel. See the NSTextFinderAction
enumeration for other possible actions.