Scratchpad - editing a script - the position at the bottom of the file

Ad #1785
The suggestion (for example).
Merge pull request #1976 from janekptacijarabaci/patch-5

Scratchpad - editing a script - the position at the bottom of the file

Fixes #1785