Re: Apple Sample Code not working? SampleCMPlugin
Re: Apple Sample Code not working? SampleCMPlugin
- Subject: Re: Apple Sample Code not working? SampleCMPlugin
- From: Eric Schlegel <email@hidden>
- Date: Thu, 21 May 2009 09:24:42 -0700
On May 21, 2009, at 1:23 AM, Steve Cronin wrote:
No matter what text I select this ALWAYS fails. The plugin NEVER
detects text correctly.
I have set up a generic coerce method and tested for both of these
as well as:
typeUnicodeText, typeStyledText, typeIntlText, typeCFStringRef
(They all fail!)
I'm assuming that you're testing this after selecting text within a
Cocoa app, such as TextEdit. Unfortunately, Cocoa never provides the
selected text when it displays the contextual menu, so there's no way
to access it.
-eric
_______________________________________________
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