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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to