[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: having a scroll bar also in softwrap mode
From: |
Benno Schulenberg |
Subject: |
Re: having a scroll bar also in softwrap mode |
Date: |
Wed, 6 May 2020 19:56:31 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
Op 06-05-2020 om 02:20 schreef Marco Diego Aurélio Mesquita:
> Attached is an updated version. It should behave the same as yours
> without softwrap and, with softwrap, it will basically replace the
> number of lines with the number of chunks.
The shown position in the file does not change when toggling
between softwrap and non-softwrap. To see what I mean, do:
for x in $(seq 24); do echo -n aa; done >short
for x in $(seq 245); do echo -n bb; done >long
for x in $(seq 100); do cat short; echo; done >thefile
for x in $(seq 100); do cat long; echo; done >>thefile
Then run 'src/nano --soft +1 thefile'. Then press ^V a few times.
See that the scroll thing slows down when you reach the bees.
Press ^Y to go back to the top of the buffer. Now toggle M-S.
See that the scroll thing does not change in size, even though the
800 chunks have decreased to 200 lines (on an 80-column terminal)
-- the scroll thing should have become roughly 4 times bigger.
Benno
signature.asc
Description: OpenPGP digital signature
- Re: having a scroll bar also in softwrap mode, Marco Diego Aurélio Mesquita, 2020/05/01
- Re: having a scroll bar also in softwrap mode, Benno Schulenberg, 2020/05/04
- Re: having a scroll bar also in softwrap mode, Marco Diego Aurélio Mesquita, 2020/05/04
- Re: having a scroll bar also in softwrap mode, Benno Schulenberg, 2020/05/05
- Re: having a scroll bar also in softwrap mode, Marco Diego Aurélio Mesquita, 2020/05/05
- Re: having a scroll bar also in softwrap mode,
Benno Schulenberg <=
- Re: having a scroll bar also in softwrap mode, Marco Diego Aurélio Mesquita, 2020/05/06
- Re: having a scroll bar also in softwrap mode, Benno Schulenberg, 2020/05/07
- Re: having a scroll bar also in softwrap mode, Marco Diego Aurélio Mesquita, 2020/05/07
- Re: having a scroll bar also in softwrap mode, Benno Schulenberg, 2020/05/09
- Re: having a scroll bar also in softwrap mode, Marco Diego Aurélio Mesquita, 2020/05/09
- Re: having a scroll bar also in softwrap mode, Benno Schulenberg, 2020/05/11
- Re: having a scroll bar also in softwrap mode, Marco Diego Aurélio Mesquita, 2020/05/14
- Re: having a scroll bar also in softwrap mode, Marco Diego Aurélio Mesquita, 2020/05/14
- Re: having a scroll bar also in softwrap mode, Benno Schulenberg, 2020/05/15
- Re: having a scroll bar also in softwrap mode, Benno Schulenberg, 2020/05/11