Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text View to CFString



On Tue, 1 Mar 2005 11:30:46, David McLeod <email@hidden> wrote:

> On Feb 16, 2005, at 7:08 PM, Laurence Harris wrote:
> 
>> On 2/16/05 9:52 PM, Nuno Fonseca didst favor us with:
>> 
>>> How do I put the content of a Text View inside a CFString?
>> You'll need to start with HITextViewGetTXNObject. See MacTextEditor.h
>> for
>> APIs to get the text out, and then you can convert to a CFString.
> 
>>> I tried to use the GetControlData, like it was in Edit Text Boxes,
>>> but it
>>> doesn't work.
>> No, it doesn't. Text views support larger amounts of text than
>> CFStrings can
>> handle gracefully, as well as style information and other non-textual
>> information CFStrings don't support.
> 
> In Tiger, GetControlData access has been added to HITextView for cases
> where you aren't worried about large amounts of text and/or non-textual
> information.

What amount of text is too large for CFStrings?

Mike

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.