Re: How to support dictionary service in a custom text view?

2008-07-08 Thread Evan Gross
On 08/07/08 12:16 AM, Charles Srstka [EMAIL PROTECTED] wrote: Yes, but I think this check box is not relevant to this functionality. At any rate, my accessibility methods get called when I type command- control-D, whether the check box is turned on or not. If I comment out my Accessibility

Re: How to support dictionary service in a custom text view?

2008-07-08 Thread Charles Srstka
On Jul 8, 2008, at 2:06 AM, Evan Gross wrote: t probably should, though - otherwise all you're seeing is the Dictionary service taking advantage of it's power to get something it needs via accessibility. It tries a number of things to both succeed and get the best attribute and positioning

Re: How to support dictionary service in a custom text view?

2008-07-07 Thread Evan Gross
On 03/07/08 3:26 PM, Charles Srstka [EMAIL PROTECTED] wrote: On Jul 3, 2008, at 12:03 PM, Charles Srstka wrote: Okay, so I've got a custom text view that's a subclass of NSView (not NSTextView). I've followed the instructions on this page:

Re: How to support dictionary service in a custom text view?

2008-07-07 Thread Charles Srstka
On Jul 7, 2008, at 9:48 PM, Evan Gross wrote: While supporting AX is always a good thing to do, the Dictionary service doesn't require access to be enabled. Have you tested at all with accessibility off? I'm not sure what you're referring to with regards to accessibility off. If you are

Re: How to support dictionary service in a custom text view?

2008-07-07 Thread Evan Gross
On 07/07/08 11:14 PM, Charles Srstka [EMAIL PROTECTED] wrote: I'm not sure what you're referring to with regards to accessibility off. If you are referring to the Allow access for assistive devices check box in the Universal Access preference pane, that isn't what I was talking about at

Re: How to support dictionary service in a custom text view?

2008-07-03 Thread Charles Srstka
On Jul 3, 2008, at 12:03 PM, Charles Srstka wrote: Okay, so I've got a custom text view that's a subclass of NSView (not NSTextView). I've followed the instructions on this page: http://developer.apple.com/documentation/Cocoa/Conceptual/InputManager/Tasks/TextViewTask.html#/