diff options
| author | Albert Cervin <albert@acervin.com> | 2023-11-26 23:08:06 +0100 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2024-01-15 10:39:56 +0100 |
| commit | 64d6816a36567274551dd4f067fe4d05b1445cc0 (patch) | |
| tree | 50f8dc895d363ab391d30226f665870d8ce263b5 /src/dged/text.c | |
| parent | c87888f10dfb54590c5aae8311b7aff887193d9a (diff) | |
| download | dged-64d6816a36567274551dd4f067fe4d05b1445cc0.tar.gz dged-64d6816a36567274551dd4f067fe4d05b1445cc0.tar.xz dged-64d6816a36567274551dd4f067fe4d05b1445cc0.zip | |
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
Diffstat (limited to 'src/dged/text.c')
| -rw-r--r-- | src/dged/text.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
