[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Softwrap navigation overhaul
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] Softwrap navigation overhaul |
Date: |
Sun, 05 Feb 2017 20:22:57 +0100 |
> On Fri, Feb 3, 2017, at 16:24, David Ramsey wrote:
> > Version 2b is attached. It's now 34 patches on the softwrap side [...]
Oh, 0001:
+int go_back_chunks(size_t *leftedge, filestruct **line, int nrows);
+int go_forward_chunks(size_t *leftedge, filestruct **line, int nrows);
You swapped the line and leftedge parameters? Why? What I wished
to see was nrows as first parameter, as that is what "chunks" is
synonymous with.
0005:
- if (column == 0 || column < editwincols - 1)
+ if (ISSET(SOFTWRAP) || column == 0 || column < editwincols - 1)
Optimize for the most common case: non-softwrap, not column zero:
+ if (column < editwincols - 1 || ISSET(SOFTWRAP) || column == 0)
0007, 0008:
Applied and pushed. They are independent from the overhaul.
Benno
--
http://www.fastmail.com - Email service worth paying for. Try it for free
- Re: [Nano-devel] Softwrap navigation overhaul, David Ramsey, 2017/02/01
- Re: [Nano-devel] Softwrap navigation overhaul, David Ramsey, 2017/02/01
- Re: [Nano-devel] Softwrap navigation overhaul, David Ramsey, 2017/02/03
- Re: [Nano-devel] Softwrap navigation overhaul, Benno Schulenberg, 2017/02/03
- Re: [Nano-devel] Softwrap navigation overhaul, David Ramsey, 2017/02/03
- Re: [Nano-devel] Softwrap navigation overhaul, Benno Schulenberg, 2017/02/05
- Re: [Nano-devel] Softwrap navigation overhaul, Benno Schulenberg, 2017/02/05
- Re: [Nano-devel] Softwrap navigation overhaul,
Benno Schulenberg <=
- Re: [Nano-devel] Softwrap navigation overhaul, David Ramsey, 2017/02/06
- Message not available
- Re: [Nano-devel] Softwrap navigation overhaul, David Ramsey, 2017/02/06
- Re: [Nano-devel] Softwrap navigation overhaul, David Ramsey, 2017/02/06
- Re: [Nano-devel] Softwrap navigation overhaul, David Ramsey, 2017/02/06
- Re: [Nano-devel] Softwrap navigation overhaul, Benno Schulenberg, 2017/02/07
- Re: [Nano-devel] Softwrap navigation overhaul, David Ramsey, 2017/02/07
- Re: [Nano-devel] Softwrap navigation overhaul, David Ramsey, 2017/02/07
- Re: [Nano-devel] Softwrap navigation overhaul, David Ramsey, 2017/02/08
- Re: [Nano-devel] Softwrap navigation overhaul, Benno Schulenberg, 2017/02/08
- Re: [Nano-devel] Softwrap navigation overhaul, David Ramsey, 2017/02/08