• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: code folding in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >code folding in NSTextView (From: Martin Hewitson <email@hidden>)

  • Prev by Date: Re: Toolbar customizer crashes on Leopard when using menu delegate
  • Next by Date: Re: code folding in NSTextView
  • Previous by thread: Re: code folding in NSTextView
  • Next by thread: Re: code folding in NSTextView
  • Index(es):
    • Date
    • Thread