nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] Nano with Line Numbering


From: Benno Schulenberg
Subject: Re: [Nano-devel] Nano with Line Numbering
Date: Tue, 11 Oct 2016 20:45:08 +0200

On Tue, Oct 11, 2016, at 15:48, Faissal Bensefia wrote:
> I'm increasingly finding less time
> to work on this because I've started college (I'm literally doing this
> in class right now lol), hence why I'm suggesting we get the main
> functionality done & pushed now and deal with optimisations later.

There is no hurry to push it.  I have it on a branch, it won't
go away.  And I'm waiting for other people to give their opinion
about it -- about how things should look, how they should work.
Changing this afterward is awkward.

> > I would like to see how things look without the vertical line
> > beside the line numbers
> 
> I highly advise against it, most text editors I use have a line between
> the two or a difference of colour between the text and the margin for
> readability,

I think it will be best to use coloring, like vim does.

But... how come that computing the margin changes from +3 to +1?
A difference of 2, when only one character is removed?  Ah!  In
your lined version the margin is one too big: there's always a
space before the line number, even before the widest one.  That
space shouldn't be there -- it wastes space.

Benno

-- 
http://www.fastmail.com - The professional email service




reply via email to

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