A text editor?

Completely and utterly unrelated.

Moderators: raboof, MattKingUSA, khz

User avatar
briandc
Established Member
Posts: 1442
Joined: Sun Apr 29, 2012 3:17 pm
Location: Italy
Has thanked: 58 times
Been thanked: 28 times
Contact:

Re: A text editor?

Post by briandc »

j_e_f_f_g wrote:Geany has a "scroll document down 1 line" command. It's mapped to Alt + down arrow keys. I believe gedit also a scroll down command, but maybe invoked via a different key shortcut. You need to look through the editor's key bindings.
I tried Geany, and scrolling indeed requires "alt+up" and "alt+down". But I don't want to use key bindings. I just want the cursor to stay at the same line when I hit "return" (while the text moves up).

Using key bindings would mean hitting "return" and then using the extra command to return back up again.


brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
User avatar
briandc
Established Member
Posts: 1442
Joined: Sun Apr 29, 2012 3:17 pm
Location: Italy
Has thanked: 58 times
Been thanked: 28 times
Contact:

Re: A text editor?

Post by briandc »

Luc wrote:Maybe you can achieve that with OpenOffice or LibreOffice if you configure the page to have a really thick bottom border.
That would be one possible solution. -But is it the only one?

Gedit doesn't do this either.


brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
ssj71
Established Member
Posts: 1294
Joined: Tue Sep 25, 2012 6:36 pm
Has thanked: 1 time

Re: A text editor?

Post by ssj71 »

it seems vim has this function http://vim.wikia.com/wiki/Keep_your_cur ... the_screen :)

Such a "scroll offset" plugin could be written for gedit, or one might exist for another editor (my brief search gave me one for the sublime text editor but that is proprietary). If you want one bad enough you'll write it. :D
_ssj71

music: https://soundcloud.com/ssj71
My plugins are Infamous! http://ssj71.github.io/infamousPlugins
I just want to get back to making music!
User avatar
briandc
Established Member
Posts: 1442
Joined: Sun Apr 29, 2012 3:17 pm
Location: Italy
Has thanked: 58 times
Been thanked: 28 times
Contact:

Re: A text editor?

Post by briandc »

ssj71 wrote:it seems vim has this function http://vim.wikia.com/wiki/Keep_your_cur ... the_screen :)

Such a "scroll offset" plugin could be written for gedit, or one might exist for another editor (my brief search gave me one for the sublime text editor but that is proprietary). If you want one bad enough you'll write it. :D
I tried it out on Vim (both Geany and Vim are new to me). I was only able to get the cursor to start 5 lines down, but the bottom margin wasn't affected and so the result was the same as with other editors.

It might be useful to have a "generic" plugin that would work in various editors. But I don't suppose that would be easy to do.
It's surprising that it's not a "standard" option. When you think about it, when a person writes, it's nice to not have the cursor always at the bottom of the page!


brian
Have your PC your way: use linux!
My sound synthesis biome: http://www.linuxsynths.com
Post Reply