summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-23 11:32:52 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-23 11:32:52 -0500
commitf4172376d933c5c9033ff421f04db828825f9017 (patch)
tree8d53b18edb7aec7896ca48e5ab06c4448eec53e5 /command.h
parent376d732e48b89b0a0a392e2582826775e2d4a2d1 (diff)
start goto line
Diffstat (limited to 'command.h')
-rw-r--r--command.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/command.h b/command.h
index 8f61424..9824fbf 100644
--- a/command.h
+++ b/command.h
@@ -69,7 +69,8 @@ ENUM_U16 {
CMD_BUILD_PREV_ERROR,
CMD_BUILD_NEXT_ERROR,
- CMD_OPEN_DEFINITION_MENU, // "go to definition of..."
+ CMD_GOTO_DEFINITION, // "go to definition of..."
+ CMD_GOTO_LINE, // open "goto line..." menu
CMD_ESCAPE, // by default this is the escape key. closes menus, etc.
@@ -137,7 +138,8 @@ static CommandName const command_names[CMD_COUNT] = {
{"build", CMD_BUILD},
{"build-prev-error", CMD_BUILD_PREV_ERROR},
{"build-next-error", CMD_BUILD_NEXT_ERROR},
- {"open-definition-menu", CMD_OPEN_DEFINITION_MENU},
+ {"goto-definition", CMD_GOTO_DEFINITION},
+ {"goto-line", CMD_GOTO_LINE},
{"escape", CMD_ESCAPE},
};