• 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: NSAccessibilitySharedTextUIElementsAttribute
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAccessibilitySharedTextUIElementsAttribute


  • Subject: Re: NSAccessibilitySharedTextUIElementsAttribute
  • From: James Dempsey <email@hidden>
  • Date: Tue, 20 Oct 2009 09:37:08 -0700


On Oct 20, 2009, at 7:26 AM, Carolyn MacLeod wrote:


Hello,

The description for NSAccessibilitySharedTextUIElementsAttribute is "The elements with which the text of this element is shared."

Would you happen to have an example of a situation when this would be used?

Essentially this allows for text to 'flow' between multiple UI elements - where the underlying text is shared by multiple UI elements in the interface.

You can see this in action in TextEdit.  If you switch to Wrap To Page in the Layout menu.  Make sure you have text long enough to fill at least two pages.  You'll notice that there are multiple text views, one per page, but the text flows between them.

The NSAccessibilitySharedCharacterRangeAttribute indicates the range of text that is present in that particular AXTextArea.

-James




Thanks!
--------------------------------------------------
James Dempsey
AppKit Engineering
Apple
email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSAccessibilitySharedTextUIElementsAttribute (From: Carolyn MacLeod <email@hidden>)

  • Prev by Date: Re: NSAccessibilitySharedTextUIElementsAttribute
  • Next by Date: Detecting Key Presses In An Applescript Cocoa Project
  • Previous by thread: Re: NSAccessibilitySharedTextUIElementsAttribute
  • Next by thread: Detecting Key Presses In An Applescript Cocoa Project
  • Index(es):
    • Date
    • Thread