diff options
author | Daniel Carl <danielcarl@gmx.de> | 2013-09-28 23:53:05 +0200 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2013-09-28 23:53:05 +0200 |
commit | 698d988f588227204d5ea47f3597059ac30dc533 (patch) | |
tree | 3673d7919147650fae5040cb337fd3febb4f4f72 /src/completion.h | |
parent | d4ebbe02b74c9a8dac1e0590a76ab5bc214d8d3b (diff) |
Moved parts of completion logic to ex.c.
This change makes it easier to control the found matches and it allowed to
complete also abbreviated commands like ':o !tag'.
Diffstat (limited to 'src/completion.h')
-rw-r--r-- | src/completion.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/completion.h b/src/completion.h index e628b39..ac8ec25 100644 --- a/src/completion.h +++ b/src/completion.h @@ -30,7 +30,11 @@ enum { COMPLETION_STORE_NUM }; +typedef void (*CompletionSelectFunc) (char *match); + +gboolean completion_create(GtkTreeModel *model, CompletionSelectFunc selfunc, + gboolean back); void completion_clean(void); -gboolean completion_complete(gboolean back); +void completion_next(gboolean back); #endif /* end of include guard: _COMPLETION_H */ |