[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Request for pointers and advice: displaying several buffers inside a
From: |
Eli Zaretskii |
Subject: |
Re: Request for pointers and advice: displaying several buffers inside a single window |
Date: |
Sat, 11 Apr 2020 12:25:24 +0300 |
> From: Ihor Radchenko <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden,
> address@hidden
> Date: Sat, 11 Apr 2020 16:35:58 +0800
>
> > That's not the definition I'd use. The gap is a way of making text
> > insertion less expensive. If you insert characters one by one, each
> > insertion needs to move the characters after the insertion point,
> > which is expensive. Having the gap allows us to perform this movement
> > only after relatively large amounts of text were inserted; for smaller
> > insertions we just make the gap smaller.
>
> Do you mean that the gap is specially allocated memory space associated
> with buffer point where you can insert characters without a need to
> shift the tail of the char array containing buffer string?
Yes. Except that point doesn't need to be at that place, because we
can insert at position that is not necessarily that of point; we move
the gap to the insertion place when we need.
- RE: Request for pointers and advice: displaying several buffers inside a single window, (continued)
- RE: Request for pointers and advice: displaying several buffers inside a single window, Ihor Radchenko, 2020/04/12
- RE: Request for pointers and advice: displaying several buffers inside a single window, Drew Adams, 2020/04/12
- Re: Request for pointers and advice: displaying several buffers inside a single window, Eli Zaretskii, 2020/04/10
- Re: Request for pointers and advice: displaying several buffers inside a single window, Ihor Radchenko, 2020/04/10
- Re: Request for pointers and advice: displaying several buffers inside a single window, Ihor Radchenko, 2020/04/10
- Re: Request for pointers and advice: displaying several buffers inside a single window, Eli Zaretskii, 2020/04/11
- Re: Request for pointers and advice: displaying several buffers inside a single window, Ihor Radchenko, 2020/04/11
- Re: Request for pointers and advice: displaying several buffers inside a single window,
Eli Zaretskii <=
- Re: Request for pointers and advice: displaying several buffers inside a single window, Dmitrii Korobeinikov, 2020/04/10
- Re: Request for pointers and advice: displaying several buffers inside a single window, chad, 2020/04/10
- Re: Request for pointers and advice: displaying several buffers inside a single window, Eli Zaretskii, 2020/04/11
- Re: Request for pointers and advice: displaying several buffers inside a single window, Eli Zaretskii, 2020/04/11
- Re: Request for pointers and advice: displaying several buffers inside a single window, Dmitrii Korobeinikov, 2020/04/11
- Re: Request for pointers and advice: displaying several buffers inside a single window, Eli Zaretskii, 2020/04/11
- Re: Request for pointers and advice: displaying several buffers inside a single window, Dmitrii Korobeinikov, 2020/04/11
Re: [SPAM UNSURE] Request for pointers and advice: displaying several buffers inside a single window, Stephen Leake, 2020/04/03