On Thu, 14 Feb 2008 21:31:20 -0500, "John Gabriele" jmg3000@gmail.com wrote:
When searching in a document, it's nice how the window view gets centered on the search term (when the search term is further down the page, out of view from where you started).
However, when scrolling with the mouse, if one scrolls all the way to the bottom, you end up with a mostly-blank window, with only the last line showing at the top. It would probably be more useful if, when scrolling all the way down, the view were left in the same way as if a search had landed you at the last line of the doc (that is, with the last line somewhere near the middle of the window). Or possibly with the view centered, like what "Scroll to current line" does.
I'm worrying about this isn't possible. In Scintilla, there is only the option to enable or disable the "virtual last page" after the last real line of the document. So, when it is enabled, you can scroll one page below the last real line and you can center the last line in the view. Or you can disable this feature and so, scrolling always ends at the last line of the document. But then it is not possible to center one of the last lines in the view.
So, at the moment you have to decide for having the last page or not. You can enable/disable it with the new "scroll_stop_at_last_line" preference(hidden pref).
Regards, Enrico