diff options
Diffstat (limited to 'src/goto-commands.c')
-rw-r--r-- | src/goto-commands.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/goto-commands.c b/src/goto-commands.c index b87fc32..99288c1 100644 --- a/src/goto-commands.c +++ b/src/goto-commands.c @@ -157,7 +157,10 @@ teco_state_goto_done(teco_machine_main_t *ctx, const teco_string_t *str, GError } /* in cmdline.c */ -gboolean teco_state_goto_process_edit_cmd(teco_machine_main_t *ctx, teco_machine_t *parent_ctx, gunichar chr, GError **error); +gboolean teco_state_goto_process_edit_cmd(teco_machine_main_t *ctx, teco_machine_t *parent_ctx, + gunichar chr, GError **error); +gboolean teco_state_goto_insert_completion(teco_machine_main_t *ctx, const teco_string_t *str, + GError **error); /*$ O * Olabel$ -- Go to label @@ -186,7 +189,8 @@ gboolean teco_state_goto_process_edit_cmd(teco_machine_main_t *ctx, teco_machine * terminate the command-line. */ TECO_DEFINE_STATE_EXPECTSTRING(teco_state_goto, - .process_edit_cmd_cb = (teco_state_process_edit_cmd_cb_t)teco_state_goto_process_edit_cmd + .process_edit_cmd_cb = (teco_state_process_edit_cmd_cb_t)teco_state_goto_process_edit_cmd, + .insert_completion_cb = (teco_state_insert_completion_cb_t)teco_state_goto_insert_completion ); /* |