Sublime Forum

DEV Build 2117 missing the ability to scroll beyond file end

#1

Hi everybody,
Today I’ve missed one of the thing I love from ST2: the ability to scroll beyond the last line of a file. I think it was a nice ‘feature’ rather than a ‘bug’ (if it has been removed for that reason).
I’d like to have the code I’m coding in the middle of the screen and by removing this, we are stuck editing at the bottom of the screen.
I’m on OSX, I don’t know if it happens too in other platforms.
Greetings,
V.

0 Likes

#2

Make sure to have this among your “File Settings - User” (under Preferences).

"scroll_past_end": true

It’s working here (Win7).

0 Likes

#3

Yay! Great!!
Thanks!! :smile:

PD: Why the default OSX settings override this?
(From the default File settings):
// Set to false to disable scrolling past the end of the buffer.
// On OS X, this value is overridden in the platform specific settings, so
// you’ll need to place this line in your user settings to override it.
“scroll_past_end”: true,

0 Likes

#4

The Way of the Apple is beyond me, so I wouldn’t know… :wink: Maybe there was a poll when the option first made it into the editor?

0 Likes

#5

Is there a way/setting to scroll before the beginning of a file as well? If not, could this get added perhaps? <3

0 Likes

#6

The standard behaviour of OS X applications is not to scroll past the end, and Sublime Text tries to follow platform conventions where possible

0 Likes