diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-29 18:33:56 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-29 18:33:56 -0500 |
commit | 90ffcaad047caa55e65a6bf858a7b976e062007a (patch) | |
tree | c76eb58d233fab1a70fe49253ebaa639fe23ca65 /command.h | |
parent | a0b84cc8f40e19a506332be3a05222b87e6ed617 (diff) |
tabs working pretty well (not done yet)
Diffstat (limited to 'command.h')
-rw-r--r-- | command.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -41,12 +41,17 @@ ENUM_U16 { CMD_OPEN, // open a file CMD_SAVE, // save current buffer CMD_SAVE_AS, + CMD_NEW, CMD_UNDO, CMD_REDO, CMD_COPY, CMD_CUT, CMD_PASTE, + CMD_TAB_CLOSE, + CMD_TAB_NEXT, + CMD_TAB_PREV, + CMD_TEXT_SIZE_INCREASE, CMD_TEXT_SIZE_DECREASE, @@ -92,6 +97,7 @@ static CommandName const command_names[CMD_COUNT] = { {"backspace-word", CMD_BACKSPACE_WORD}, {"delete-word", CMD_DELETE_WORD}, {"open", CMD_OPEN}, + {"new", CMD_NEW}, {"save", CMD_SAVE}, {"save-as", CMD_SAVE_AS}, {"undo", CMD_UNDO}, @@ -99,6 +105,9 @@ static CommandName const command_names[CMD_COUNT] = { {"copy", CMD_COPY}, {"cut", CMD_CUT}, {"paste", CMD_PASTE}, + {"tab-close", CMD_TAB_CLOSE}, + {"tab-next", CMD_TAB_NEXT}, + {"tab-prev", CMD_TAB_PREV}, {"increase-text-size", CMD_TEXT_SIZE_INCREASE}, {"decrease-text-size", CMD_TEXT_SIZE_DECREASE}, {"escape", CMD_ESCAPE} |