Text Editing without NSTextView?
Text Editing without NSTextView?
- Subject: Text Editing without NSTextView?
- From: "Burns, Michael" <email@hidden>
- Date: Tue, 8 Jan 2008 09:51:29 -0500
- Thread-topic: Text Editing without NSTextView?
Hello list-
I'm building an Illustrator-like graphic editing system as part of a larger application I'm working on and I want the user to have the ability to add text objects. I'm trying to figure out the best way to do this -- ideally I'd use an NSTextView, but when I add the text view as a subview to the custom draw view where all the other shapes are drawn the text is always on top of any of the shapes that get rendered to the draw view (Of course).
My other option is to use the text containers drawGlyphsForGlyphRange method -- which is fine by me, but the problem is I want the user to be able to select/edit the text and I'm not sure if it's even possible to do that without using an NSTextView.
Any thoughts?
Thanks!
Mike
_______________________________________________
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