<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">[...] Is there a keybinding or some other default I can set to make PageUp/Down actually move one page up/down based solely on the visible lines, not the location of the caret? (Move PageUp/Down would then, either re-center the caret on the new page or place it at the same relative location.)</DIV><BR></BLOCKQUOTE></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 12px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">The default behavior is to move exactly one page up/down without moving the caret (look at the scrollbar for the exact distance moved).</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 12px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">You can change it e.g. to move the caret as well [1]. Could it be, that you already changed this, but moved the movePageUp:/movePageDown: selectors? If so, you get a third behavior, where caret will first move to the screen boundaries, and then move a page.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 12px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 12px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">[1] <A href="http://macromates.com/blog/archives/2005/07/05/key-bindings-for-switchers/">http://macromates.com/blog/archives/2005/07/05/key-bindings-for-switchers/</A></DIV><BR></BLOCKQUOTE></DIV><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I just verified my key bindings and they're at the defaults (e.g., PageUp binds to pageUp:). I tried binding to movePageUp: just to verify. What I'm seeing is different than what you've described. Perhaps I've altered some other binding, but heck if I can find it.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span">As long as the caret is on the center line, I get the behavior you describe. If the caret is <I>not</I> on the center line then I get other behavior. For example, if display is showing lines 283-364 (so, 82 lines per page), if the caret is on line 323 (the center) and I page up, the windows displays lines 201-282 (that is, it's move backward by 82 lines. However, if the caret is on line 360 (below center) and I page up, the window displays (roughly) lines 237-319 and the caret is on line 278. It's moving backward one page as measured from the caret location (360 - 82 = 278) and then making that line the center. The visual effect is a movement of more/less than a whole page depending on how far from center you are.</SPAN></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>It seems that Xcode and TextMate do the same, while BBEdit moves a strict page up/down (perhaps leaving the caret outside of the visible window). If I could request something, what I would prefer is to always move exactly one page up/down based on the window size alone, regardless of where the caret is. If that leaves the caret outside the window, well, Ok. It'd be cool if the caret would land on the same relative position on the newly displayed page (e.g., if displaying 100-200 with caret on 175, a page down would display 200-300 with caret on 275).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Is this making sense? Are there defaults or bindings I can change to obtain this effect?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Brendan Dixon</DIV><DIV><A href="mailto:brendandixon@mac.com">brendandixon@mac.com</A></DIV><DIV>425.922.8798</DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>