Setting the replace string in the Panther standard Find panel
Setting the replace string in the Panther standard Find panel
- Subject: Setting the replace string in the Panther standard Find panel
- From: Troy Gaul <email@hidden>
- Date: Fri, 16 Jan 2004 03:32:31 -0600
We have an application that's using the Panther standard Find panel.
We've wired up all the standard commands in the Find menu, and a few
others easily allowed by performFindPanelAction:. However, one of the
commands we'd like to allow is "Enter Replace String" to go along with
"Enter Find String".
There doesn't seem to be a tag value to do that, nor does there seem to
be a higher level API for the Find panel (at least one is not evident
by reading the documentation). It recently occurred to me that perhaps
there is a named pasteboard that contains the Replace string, and that
by changing the contents of that pasteboard perhaps we could set it,
but alas, looking at the pasteboard name constants, I see no such
constant defined.
So, if we want this feature, are we left to implement our own find
Panel, or am I missing some other way to accomplish what we're looking
for?
Thanks,
_troy
_______________________________________________
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.