commit 74fc1346f0e2ee3e95c37edc9880890d14f8e747
parent b05e1135200febcf01061df3e109943b6d828b8f
Author: lumidify <nobody@lumidify.org>
Date: Fri, 8 May 2020 21:18:25 +0200
Add gap buffer implementation to textedit
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/textedit_wip.c b/textedit_wip.c
@@ -21,6 +21,8 @@
* SOFTWARE.
*/
+/* NOTE: THIS DOESN'T HAVE ANY USABLE CODE YET! */
+
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
@@ -39,6 +41,10 @@
extern Ltk *ltk_global;
+LTK_GAP_BUFFER_INIT_IMPL(uint32, uint32_t)
+LTK_GAP_BUFFER_INIT_IMPL(int, int)
+LTK_GAP_BUFFER_INIT_IMPL(glyph, struct ltk_glyph)
+
/* FIXME: allow to either use fribidi for basic shaping and don't use harfbuzz then,
or just use harfbuzz (then fribidi doesn't need to do any shaping) */
LtkTextLine *