[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Implementing buffer gap
From: |
Joel Reymont |
Subject: |
[Chicken-users] Implementing buffer gap |
Date: |
Tue, 28 Dec 2004 20:30:01 +0000 |
Folks,
I'm trying to implement a buffer for my mini-editor. I'd like to use the
buffer gap technique where a gap in the buffer is moved around to the
edit point. See <http://www.djmnet.org/lore/buffer-gap.txt>.
My issue is picking the right Chicken functions for moving the memory
around. I thought of using a byte vector and memory-move! but I don't
think I can use it to move bytes _within_ the byte vector.
What do you suggest?
Thanks, Joel
--
OpenPoker: The Linux of poker software
http://wagerlabs.com/forums
Tenerife: Canary Islands: Spain
- [Chicken-users] Implementing buffer gap,
Joel Reymont <=