nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] Softwrap navigation overhaul


From: David Ramsey
Subject: Re: [Nano-devel] Softwrap navigation overhaul
Date: Mon, 6 Feb 2017 17:37:44 -0600

On Mon, Feb 6, 2017 at 5:06 PM, David Ramsey <address@hidden> wrote:
> As for the other change, the condition is now rows_from_tail != -1
> (with its being initialized to -1), since rows_from_tail == 0 means
> we're exactly on the tail and should still move specially, just as we
> do in non-softwrap mode.  The only way row counting would get
> rows_from_tail to -1 would be if current was one line below filebot,
> which shouldn't happen.

Never mind this; I got a bit confused from the refactoring again.  Since
the number of lines is supposed to be fewer than half a screen, your
approach is the right one.  Attached version 3a, which fixes this.

Attachment: softwrap-navigation-overhaul-3a.zip
Description: Zip archive


reply via email to

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