Re: custom nstextview
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