Cocoa NSTextView in Carbon
Cocoa NSTextView in Carbon
- Subject: Cocoa NSTextView in Carbon
- From: "Nick D'Amato" <email@hidden>
- Date: Thu, 2 Jun 2005 11:52:32 -0400
Hi,
I have a carbon 'layout' application that will have styled text
objects. When the user clicks on the text, I want the editor to be a
Carbon NSTextView since it has so many nice features. I've got a
bundle working and have the Carbon code calling it just fine. The
only dilema I have now...
When my Carbon app asks the Cocoa gui for the styled text object, I'd
like to get it in a format that Carbon can understand. It looks like
'flattened text' is the winner, since this is what the global
Pasteboard uses. Is there a way to extract a 'flattened text' object
from the NSTextView so my Carbon app can further use it (for ATSUI
rendering to printer)?
If there is a better way, I'm more than open for suggestions :P
Thanks in advance
Nick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden