Re: code folding in NSTextView
Re: code folding in NSTextView
- Subject: Re: code folding in NSTextView
- From: Jon Pugh <email@hidden>
- Date: Wed, 24 Mar 2010 10:18:50 -0700
At 5:46 PM +0100 3/24/10, Martin Hewitson wrote:
>I guess this is an old chestnut, but a google search didn't reveal any good clues as how one might go about doing code folding in an NSTextView subclass.
I would consider trying to use an NSOutlineView instead. You'd have to identify lines which could be folded, in order to make them collapsible, but I think it has the basics of what you need.
Jon
_______________________________________________
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