diff options
author | pommicket <pommicket@gmail.com> | 2023-08-06 10:59:07 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-08-06 10:59:07 -0400 |
commit | 413e8f4ba1c5937de40f6366a88c26f540cbb222 (patch) | |
tree | 2e4240cfd72bdd23c5ee85e5a94e97717af95a45 /main.c | |
parent | 5891bf8f920be9cfa40cc03e86c16e6406943c20 (diff) |
new menu system all done
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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]); |