nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH 2/2] wrapping: compare persistent line numbers..


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH 2/2] wrapping: compare persistent line numbers...
Date: Mon, 4 Dec 2017 19:11:15 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0


Op 04-12-17 om 03:56 schreef David Ramsey:
One minor issue in the patch:

+#ifdef ENABLE_WRAPPING
+           size_t was_lineno = openfile->current->lineno;
+#endif

Line numbers are stored as ssize_t, not size_t.

Thanks for noticing that.  But... things have changed again
since then.  See the upcoming second version of this patch.

With this patch, nano becomes slightly better than Pico at
continuing to push wrapped words onto the same next line.

See https://savannah.gnu.org/bugs/?52576 for an example.

Benno



reply via email to

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