Re: Scrolling in Xcode editor
Re: Scrolling in Xcode editor
- Subject: Re: Scrolling in Xcode editor
- From: Jeffrey Oleander <email@hidden>
- Date: Fri, 27 Oct 2006 12:28:44 -0700 (PDT)
> John Deane <email@hidden> wrote:
> Say, for example, you are somewhere near the middle
> of a large file and the cursor is about half way down
> the window. You wish to scroll up (or down) to locate
> a some code. As you press the cursor key the
> cursor moves as you would expect and your gaze
> follows the cursor as it moves towards the top (or
> bottom) of the window, effectively using the cursor
> as a visual reference point to help you find the
> text you are looking for.
> However, when the cursor reaches the top (or bottom) line
> of the window the next key press causes the contents
> of the window to scroll, not by a single line to reveal
> the next line of the file, but by half the number lines
> in the window, moving the cursor back to the
> middle line of the window again. Almost instantly your
> eyes have to move their focus a significant distance...
You're correct. That is a problem.
What I've seen some apps do that I like better is scroll by
one line when they get to within n lines of the top or
bottom, so that you always have a little context. And n
can be set by the user. And then there needs to be a
little minor exception handling for when the cursor nears
the very top or bottom of the file.
Having 1-10 lines of context makes reading through the
file, and spotting those bugs caused by something a line or
two above the line about which you've been alerted, quite a
bit easier.
On the down-side it can be annoying when you're trying to
use the key-board driven cursor movement to situate what
appears to start or end at a particular line. Then you
have to switch back to the mouse and scroll-arrow to
correct, or, if it's a small window move the cursor all the
way in the other direction and hope you don't over-shoot again.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.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