[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] browser: keep the highlight in the same spot or
Re: [Nano-devel] [PATCH] browser: keep the highlight in the same spot or column, when possible
Wed, 11 May 2016 19:30:02 +0200
On Wed, May 11, 2016, at 19:15, Benno Schulenberg wrote:
> When doing a PageUp or PageDown in the browser, don't move the highlight
> to the first line in the same column,
That is what nano currently does. For example, run:
stty cols 80 && stty rows 20 && src/nano --ignore --oper=/proc
Then type ^R ^T and move the highlight down a few lines and out of
the first column. Then hit PageDown. The highlight will stay in the
same column, but it will move to the first line. I don't understand
the logic. It is different from Pico, which is even weirder and I
don't even want to explain here. Why not keep the highlight in the
same spot to not distract the eye with unnecessary movement? That
is what the patch does.
> but keep it in the same relative
> position of the screen. If we're already on the first or last page,
> move the highlight to the first or last line, but keep it in the same
> column. If we're already on the first or last line, only then move it
> to the first or last entry.
http://www.fastmail.com - Same, same, but different...