[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] bug with positioning in non-softwrap mode after the ove
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] bug with positioning in non-softwrap mode after the overhaul |
Date: |
Sun, 19 Mar 2017 18:14:18 +0100 |
On Fri, Mar 17, 2017, at 15:52, David Ramsey wrote:
> On Fri, Mar 17, 2017 at 7:39 AM, Benno Schulenberg
> <address@hidden> wrote:
> > I'm pretty sure that the mistake is in patch 0002. You can probably
> > elide rows_left, and then check for rows_from_tail being smaller than
> > editwinrows/2 instead of being nonzero.
>
> Eliding rows_left will make it harder to debug, as gdb can trace a
> variable more easily than a function call, so for right now I've just
> fixed the rows_from_tail check.
The fix was not correct: it centered the bottom line of a file
when using positionlog and the bottom line was the cursor's last
position. I've changed the patch to do what I had suggested --
I very seldom use a debugger. :)
If it's not right, let me know.
Benno
--
http://www.fastmail.com - Choose from over 50 domains or use your own
- Re: [Nano-devel] softwrapping without varying row length, (continued)
- Re: [Nano-devel] softwrapping without varying row length, Benno Schulenberg, 2017/03/14
- Re: [Nano-devel] softwrapping without varying row length, David Ramsey, 2017/03/14
- Re: [Nano-devel] softwrapping without varying row length, David Ramsey, 2017/03/14
- Re: [Nano-devel] softwrapping without varying row length, David Ramsey, 2017/03/15
- Re: [Nano-devel] bug with positioning in non-softwrap mode after the overhaul, Benno Schulenberg, 2017/03/17
- Re: [Nano-devel] bug with positioning in non-softwrap mode after the overhaul, Benno Schulenberg, 2017/03/17
- Re: [Nano-devel] bug with positioning in non-softwrap mode after the overhaul, David Ramsey, 2017/03/17
- Re: [Nano-devel] bug with positioning in non-softwrap mode after the overhaul, David Ramsey, 2017/03/17
- Re: [Nano-devel] bug with positioning in non-softwrap mode after the overhaul, Benno Schulenberg, 2017/03/17
- Re: [Nano-devel] bug with positioning in non-softwrap mode after the overhaul, David Ramsey, 2017/03/17
- Re: [Nano-devel] bug with positioning in non-softwrap mode after the overhaul,
Benno Schulenberg <=
- Re: [Nano-devel] bug with positioning in non-softwrap mode after the overhaul, David Ramsey, 2017/03/20
- Re: [Nano-devel] a problem with tabs after the overhaul, Benno Schulenberg, 2017/03/17
- Re: [Nano-devel] a problem with tabs after the overhaul, Benno Schulenberg, 2017/03/17
- [Nano-devel] Start Nano at the end of a file?, Joel Whitehouse, 2017/03/17
- Re: [Nano-devel] Start Nano at the end of a file?, Benno Schulenberg, 2017/03/19
- Re: [Nano-devel] a problem with tabs after the overhaul, David Ramsey, 2017/03/17
- Re: [Nano-devel] a problem with tabs after the overhaul, David Ramsey, 2017/03/17
- Re: [Nano-devel] a problem with tabs after the overhaul, Benno Schulenberg, 2017/03/17
- Re: [Nano-devel] a problem with tabs after the overhaul, David Ramsey, 2017/03/17
- Re: [Nano-devel] a problem with tabs after the overhaul, Benno Schulenberg, 2017/03/19