• 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: custom nstextview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: custom nstextview


  • Subject: Re: custom nstextview
  • From: "Matteo Manferdini" <email@hidden>
  • Date: Thu, 16 Oct 2008 14:58:14 +0200

Hi Chris,
I don't know exactly how it's done, but Smultron does that and it's open
source. Maybe you can find what you are looking for digging in its code.
Bye.

On Mon, Oct 13, 2008 at 4:41 AM, chris struhar <email@hidden> wrote:

> I'm trying to modify the default behavior of an NSTextView to behave
> more like that of programming IDEs (xcode or textmate) where if you
> tab over and then press return, it automatically tabs you to the  same
> indentation level on the new line.
>
> Could someone point me in the right direction? My guess is that I need
> to add some ruler to the view but I don't know where to go beyond
> that.
>
> Thanks.
> _______________________________________________
>
> 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
>
_______________________________________________

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: 
 >custom nstextview (From: "chris struhar" <email@hidden>)

  • Prev by Date: Re: tearing my hair, Do we agree it’s a bug?
  • Next by Date: NSTextView user input bug in 10.4
  • Previous by thread: custom nstextview
  • Next by thread: [Moderator] Message size reminder
  • Index(es):
    • Date
    • Thread