Find Panel Search Metadata
Find Panel Search Metadata
- Subject: Find Panel Search Metadata
- From: chaitanya pandit <email@hidden>
- Date: Thu, 11 Sep 2008 14:05:44 +0530
Hi,
I am trying to implement a custom find panel in the textView, and i
need to get the shared find options like 'ignore case', 'starts with'
etc.
The text view documentation talks about Find Panel Search Metadata,
where you have to get the property list for the search options from
the find pasteboard.
So i tried this:
NSPasteboard *findPasteBoard = [NSPasteboard
pasteboardWithName:NSFindPboard];
// Need to do this before calling propertylistForType:
[findPasteBoard types];
id options = [findPasteBoard
propertyListForType:NSFindPanelSearchOptionsPboardType];
But "options" is always nil.
Am i missing something or may be Is there any other way to get the
find options? I'd appreciate any help.
Thanks,
Chaitanya
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden