Re: NSTextView scrolling
Re: NSTextView scrolling
- Subject: Re: NSTextView scrolling
- From: Richard Somers <email@hidden>
- Date: Mon, 30 Jul 2012 22:19:13 -0600
On Jul 30, 2012, at 12:19 PM, ecir hana wrote:
> when jumping from line to line in a textview with "up" and "down" keys, it
> exhibits this scrolling behavior - when the cursor is at the very top and I
> hit "up" (and vice versa), it scrolls the document half page up, that is,
> the current line is now in the middle of the textview.
>
> Is it possible to disable this behavior? Is it possible to make it scroll
> by just one line? So that the current line stays always at the top (bottom)?
This might help.
http://www.cocoabuilder.com/archive/cocoa/145464-nstextview-auto-scroll-up-behaviour.html
--Richard
_______________________________________________
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