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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to