Laying out complex text objects
Laying out complex text objects
- Subject: Laying out complex text objects
- From: Thomas Davie <email@hidden>
- Date: Sun, 3 Dec 2006 16:56:34 +0000
Hi,
My program needs to display a cross between a bullet list of text,
and an outline view, in that each bullet in the list should be a
disclosure triangle, that can be closed or opened. Bullets should be
draggable and rearangable, but in the mean time the text in each
section should be many lines long.
I've been thinking about using an NSLayoutManager for this, but it
doesn't seem quite appropriate for the task, in that it requires all
the text to be enclosed within a single NSTextStorage object, while I
need to maintain an explicit tree structure (and several seperate
NSTextStroage objects for each node in the tree).
Can anyone think of an appropriate way of doing this?
Help much appreciated.
Thanks
Tom Davie
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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