diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-04-16 15:54:35 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-04-16 15:54:35 -0400 |
commit | 51ac447d409bb565178ab9d78d4b5200e89f2cf4 (patch) | |
tree | 0a45c9ba2215d00dd04afe75803ad103bc4236fb /command.c | |
parent | 2a3bbb6674fe3b0e4ff996cae750a6e2880315ef (diff) |
comment/uncomment selection
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -147,6 +147,9 @@ void command_execute(Ted *ted, Command c, i64 argument) { buffer_newline(buffer); } break; + case CMD_COMMENT_SELECTION: + if (buffer) buffer_toggle_comment_selection(buffer); + break; case CMD_BACKSPACE: if (buffer) buffer_backspace_at_cursor(buffer, argument); |