summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-04-16 15:54:35 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2021-04-16 15:54:35 -0400
commit51ac447d409bb565178ab9d78d4b5200e89f2cf4 (patch)
tree0a45c9ba2215d00dd04afe75803ad103bc4236fb /command.h
parent2a3bbb6674fe3b0e4ff996cae750a6e2880315ef (diff)
comment/uncomment selection
Diffstat (limited to 'command.h')
-rw-r--r--command.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/command.h b/command.h
index 80bd78b..b2da2c5 100644
--- a/command.h
+++ b/command.h
@@ -32,6 +32,7 @@ ENUM_U16 {
CMD_BACKTAB,
CMD_NEWLINE, // insert '\n' + autoindent -- also used to submit line buffers
CMD_NEWLINE_BACK,
+ CMD_COMMENT_SELECTION,
// scrolling
CMD_PAGE_UP, // move cursor up one page up (where one page is however tall the buffer is)
@@ -130,6 +131,7 @@ static CommandName const command_names[] = {
{"backtab", CMD_BACKTAB},
{"newline", CMD_NEWLINE},
{"newline-back", CMD_NEWLINE_BACK},
+ {"comment-selection", CMD_COMMENT_SELECTION},
{"backspace", CMD_BACKSPACE},
{"delete", CMD_DELETE},
{"backspace-word", CMD_BACKSPACE_WORD},