typora-issues icon indicating copy to clipboard operation
typora-issues copied to clipboard

Let the editor scroll past end of file

Open AlexPasternak opened this issue 8 years ago • 6 comments

Can you please add an option to let the editor scroll past end of file? I'm always having to keep manually adding a bunch of Enters at the bottom of a file, so that I'm editing mid-screen and not at the very bottom.

E.g., TextMate has this as View > Allow/Disallow Scroll Past End menu option. Atom has this in its Preferences:

untitled 6

Suggested in a Twitter post earlier this year, but capturing here in the official issue list for tracking.

AlexPasternak avatar Jun 10 '16 14:06 AlexPasternak

I agree with you :+1:

smallx avatar Jun 10 '16 14:06 smallx

Would be great for this functionality to be implemented.

MZhoume avatar Feb 16 '17 18:02 MZhoume

any news regarding this?

disrupted avatar Jul 14 '17 17:07 disrupted

Came here to open an issue on the same topic and found this old one. I know that there is the typewriter mode that keeps the current line in the middle of the screen, but please consider again if you could implement this feature.

sagischwarz avatar May 05 '20 05:05 sagischwarz

I found a solution. Go to base.user.css in the Themes directory of Typora.
Then append the following

.write {
  margin-bottom: 20em; /* The larger the number, the more space you have from the bottom */
}

Finally, restarting Typora takes effect.

lipengzhou avatar May 22 '22 03:05 lipengzhou

Does not function now. Instead:

#write {
    margin-bottom: 20em; /* The larger the number, the more space you have from the bottom */
}

snail123815 avatar Aug 10 '22 08:08 snail123815