Is there a Notepad++ feature to add some vertical space to the bottom or scroll below last line?

14

1

Whenever I'm doing some coding in Notepad++ i need to add some lines at the bottom so if i scroll down, the code doesn't stop at the bottom at the window. The problem is that I sometimes forget to take out the lines :/.

I need to know if there's some kind of plugin or feature that I may have missed that adds some vertical space at the bottom without being actual lines.

Or I have it all wrong and i should just resize the window?

Prozaker

Posted 2009-10-15T17:45:25.583

Reputation: 755

1Is having a little whitespace really that bad? (Unless you're coding in whitespace, of course, then your program's screwed) – Phoshi – 2009-10-15T18:16:17.597

What's wrong with the extra few empty lines? – hasen – 2009-11-07T08:36:49.490

1they don't show up nicely in version control and while doing compares :D – Prozaker – 2009-12-23T20:17:48.650

Answers

13

Scroll past end of file plugin has been updated.

Raveren

Posted 2009-10-15T17:45:25.583

Reputation: 675

@Cameron I am working with it and it is fiine. – Ghasan – 2015-06-15T06:07:56.843

Unfortunately this plugin has not been updated for Npp 5.9 – Joel Mueller – 2011-06-03T19:58:24.320

OMG OMG OMG YES, IT WORKS tyvm sir, how did you find it? lol – Prozaker – 2009-12-23T20:13:18.957

This plugin causes infinite hangs in newer versions of Notepad++, apparently due to a conflict between it and the 'clickable links' feature. Disabling clickable links (in the MISC. options) lets the plugin work properly.

– Cameron – 2014-03-26T14:25:58.020

6

There's now (version 7 onwards I think) a setting to enable what you want:

In Settings > Preferences > Editing, select 'Enable scrolling beyond last line'.

Enable scrolling beyond last line settings

cooperscreek

Posted 2009-10-15T17:45:25.583

Reputation: 61

0

What about setting up a macro in Notepad++ ?

Maybe you can record : Ctrl+end, enter, enter, enter, enter etc

Either that or create a batch/shell script that appends blank lines to your file(s)?

Hope this helps

user155695

Posted 2009-10-15T17:45:25.583

Reputation: 2 819

1yeah maybe i can try some autohotkey macro that does it. ty – Prozaker – 2009-10-23T22:39:39.493

@Prozaker Using AHK, you can send some commands directly to the Scintilla component used by NP++. It has an extended (and a bit complex) set of settings for scroll policy that probably allows to do that without changing the text at all. – PhiLho – 2012-12-21T11:43:00.777