From 419d5b17f27b8d3dda1e59c6193f1ad9c3d218f8 Mon Sep 17 00:00:00 2001 From: pommicket Date: Sun, 6 Aug 2023 22:18:41 -0400 Subject: fix doxygen errors --- command.h | 2 ++ ted.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/command.h b/command.h index e83f71e..25ba4a5 100644 --- a/command.h +++ b/command.h @@ -80,7 +80,9 @@ typedef enum { CMD_BACKSPACE_WORD, CMD_DELETE_WORD, + /// increment number at cursor CMD_INCREMENT_NUMBER, + /// decrement number at cursor CMD_DECREMENT_NUMBER, /// open a file diff --git a/ted.h b/ted.h index 2afe7e4..1b9338a 100644 --- a/ted.h +++ b/ted.h @@ -804,8 +804,11 @@ void macro_execute(Ted *ted, u32 index); // === menu.c === /// register a new menu void menu_register(Ted *ted, const MenuInfo *infop); +/// close the currently opened menu. void menu_close(Ted *ted); +/// open menu by name (with `NULL` context pointer). void menu_open(Ted *ted, const char *menu_name); +/// open menu with context pointer which will be passed to the menu callback. void menu_open_with_context(Ted *ted, const char *menu_name, void *context); /// get the `context` value passed to the last \ref menu_open_with_context, /// or `NULL` if no menu is open. -- cgit v1.2.3