Re: Scrolling in Xcode editor
Re: Scrolling in Xcode editor
- Subject: Re: Scrolling in Xcode editor
- From: Steve Mills <email@hidden>
- Date: Fri, 27 Oct 2006 14:17:03 -0500
On Oct 27, 2006, at 13:17:46, "Sean McBride" <sean@rogue-
research.com> wrote:
"When your application performs an operation whose side effect is to
make a new selection or move the insertion point, scroll the
document to
show the new selection. [...] Whenever your application scrolls a
document automatically, avoid unnecessary scrolling. Users want to
control the position of documents, so your application should move a
document only as much as necessary."
Exactly. When did the AppKit engineers stop paying attention to
Apple's own guideslines? Hopefully they'll get a crack team of top
people on this soon. Or a couple interns. Autoscrolling isn't rocket
surgery. Change the hunk of code that does scrollPos += (num visible
lines / 2) and replace it with scrollPos++ and Bob's yer uncle. Well,
plus end of doc checking and such. And going the other direction too.
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden