On Jul 22, 2013, at 5:38 PM, Gordon Apple wrote:

> Extensive Googling has not produced an answer.  What is a MarkedText
> attribute?  Is setting a background with markedText the same as just setting
> the (selected) text background?  Or does markedText take precedence over (or
> overlay) text background? Is this permanent or temporary, i.e., does the
> marked text attribute get archived with the attributed string?  Is
> markedText simply a way to categorize marking attributes, so that they can
> easily be identified and cleared from the text?

Marked text is used with dead keys and some input methods that compose 
characters from multiple keystrokes.  For example, with the U.S. keyboard 
layout, if you type Option-E, you get a dead acute accent (´).  If you then 
type "o", you get "ó".  Prior to typing the "o", the accent is "marked" to 
indicate that it is not final and will combine with the next character you type 
(if possible).  The marking consists of applying the marked-text attributes.

Regards,
Ken


_______________________________________________

Cocoa-dev mailing list ([email protected])

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

This email sent to [email protected]

Reply via email to