From 64d6816a36567274551dd4f067fe4d05b1445cc0 Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Sun, 26 Nov 2023 23:08:06 +0100 Subject: Completion rework - Add support for building with clang Also fix some annoying bugs: - Visual column was wrong when using tabs - Add shift-tab for inserting an actual tab - Fix minibuffer sometimes having dot above it --- src/dged/text.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/dged/text.c') diff --git a/src/dged/text.c b/src/dged/text.c index b3eb4ad..4d9a073 100644 --- a/src/dged/text.c +++ b/src/dged/text.c @@ -47,6 +47,8 @@ struct text *text_create(uint32_t initial_capacity) { } void text_destroy(struct text *text) { + VEC_DESTROY(&text->properties); + for (uint32_t li = 0; li < text->nlines; ++li) { free(text->lines[li].data); text->lines[li].data = NULL; -- cgit v1.2.3