summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-08-06 10:59:07 -0400
committerpommicket <pommicket@gmail.com>2023-08-06 10:59:07 -0400
commit413e8f4ba1c5937de40f6366a88c26f540cbb222 (patch)
tree2e4240cfd72bdd23c5ee85e5a94e97717af95a45 /main.c
parent5891bf8f920be9cfa40cc03e86c16e6406943c20 (diff)
new menu system all done
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/main.c b/main.c
index 24a775e..5728bf1 100644
--- a/main.c
+++ b/main.c
@@ -1,8 +1,6 @@
/*
TODO:
-- rework menus
- deal with really long paths in file menus
-- internalize Autocomplete, SignatureHelp, etc.
FUTURE FEATURES:
- autodetect indentation (tabs vs spaces)
@@ -506,6 +504,7 @@ int main(int argc, char **argv) {
gl_geometry_init();
text_init();
menu_init(ted);
+ definitions_init(ted);
autocomplete_init(ted);
signature_help_init(ted);
usages_init(ted);
@@ -1228,7 +1227,6 @@ int main(int argc, char **argv) {
SDL_GL_DeleteContext(glctx);
SDL_DestroyWindow(window);
SDL_Quit();
- definitions_selector_close(ted);
for (u16 i = 0; i < TED_MAX_BUFFERS; ++i)
if (ted->buffers_used[i])
buffer_free(&ted->buffers[i]);