• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to support dictionary service in a custom text view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: How to support dictionary service in a custom text view?
  • From: Charles Srstka <email@hidden>
  • Date: Tue, 8 Jul 2008 19:39:13 -0500

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 information it can from the underlying app. If
accessibility fails, it tries TSM, and vice-versa.


But it definitely doesn't *require* that the app implement the various
text-related accessibility support. For example, it works fine in BBEdit (a
Carbon app), access enabled or not, as BBEdit does not support access to its
document's textual contents via accessibility at all. But it's got great
support for text input via TSM/TSM DocAccess CarbonEvents.

Then why does the Dictionary service work with my view if I implement Accessibility, and not work with it if I don't?


Charles
_______________________________________________

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


References: 
 >Re: How to support dictionary service in a custom text view? (From: Evan Gross <email@hidden>)

  • Prev by Date: Re: [NSTextStorage/NSAttributedString] How can we know the height of a rendered string?
  • Next by Date: NSDateFormatter and NSCell oddness
  • Previous by thread: Re: How to support dictionary service in a custom text view?
  • Next by thread: Does this caution need fixed? (newb)
  • Index(es):
    • Date
    • Thread