[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [PATCH] scrolling: add a function and key binding to ce

From: Mike Scalora
Subject: Re: [Nano-devel] [PATCH] scrolling: add a function and key binding to center the cursor line
Date: Sat, 30 Apr 2016 10:31:08 -0600

It's not a feature I've looked for or used before. It did make me notice that the other two editors I use most (GUI) often position find/search results about 2/3 or 3/4 of the way up in the window vs. nano's in the center. I guess that's assuming you are a bit most interested in what follows than what precedes. Not noticing before I guess means it didn't make that much difference for me. 

I didn't find any centering cursor position feature. Interestingly one has a "Center Line" feature but that moves the cursor not the view, I have no idea when that would be useful.


On Sat, Apr 30, 2016 at 8:57 AM, Benno Schulenberg <address@hidden> wrote:

On Wed, Apr 27, 2016, at 15:11, Benno Schulenberg wrote:
> +    const char *nano_center_msg =
> +     N_("Center the line where the cursor is");

> +/* Scroll the line with the cursor to the center of the screen. */
> +void do_center(void)
> +{
> +    edit_update(CENTERING);
> +    refresh_needed = TRUE;
> +}

No one who has an opinion on this?  Nor on any of the other patches
I posted?  Even a simple "like" or "dislike" would be appreciated.


-- - Accessible with your email software
                          or over the web

Nano-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]