diff options
| author | Maxime Coste <mawww@kakoune.org> | 2018-05-03 22:22:12 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2018-05-03 22:28:20 +1000 |
| commit | 7325ad216cbecb0d14fdee40cef7cca3e39f8513 (patch) | |
| tree | ad23b0afd3ad24fbf8bde23bcd4bba426d52a046 /src/insert_completer.hh | |
| parent | c2637f08d95b03fbe6db5b0f98b28c2a54fd4126 (diff) | |
Add support for explicit menu selection from the UI
the JsonUI now supports a "menu_select(int)" RPC call that should
trigger explicit selection of the provided item index.
As discussed for issue #2019.
Diffstat (limited to 'src/insert_completer.hh')
| -rw-r--r-- | src/insert_completer.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insert_completer.hh b/src/insert_completer.hh index 15244bf1..7e79bd09 100644 --- a/src/insert_completer.hh +++ b/src/insert_completer.hh @@ -82,7 +82,7 @@ public: InsertCompleter& operator=(const InsertCompleter&) = delete; ~InsertCompleter(); - void select(int offset, Vector<Key>& keystrokes); + void select(int index, bool relative, Vector<Key>& keystrokes); void update(); void reset(); |
