kakoune/src
Maxime Coste 7325ad216c 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.
2018-05-03 22:28:20 +10:00
..
.gdbinit update gdbinit 2014-01-27 19:51:58 +00:00
alias_registry.cc Rename containers.hh to ranges.hh (and Container to Range) 2017-08-29 15:23:03 +07:00
alias_registry.hh Make FaceRegistry scoped 2018-04-07 16:27:50 +10:00
array_view.hh More use of std::enable_if_t alias 2017-07-19 08:55:24 +02:00
assert.cc Fix xmessage handling in assert.cc 2017-07-17 18:13:20 +09:00
assert.hh Add support for the shift modifier. 2018-04-11 15:15:45 +10:00
backtrace.cc Apply clang-tidy modernize to the codebase 2017-01-08 22:39:01 +00:00
backtrace.hh Return a String in Backtrace::desc 2015-05-29 13:35:54 +01:00
buffer_manager.cc Make error messages more consistent 2018-04-06 16:56:53 +02:00
buffer_manager.hh Small cleanup in BufferManager code 2016-11-29 19:12:10 +00:00
buffer_utils.cc Refuse modification of ReadOnly buffers and make Debug buffer readonly 2018-02-11 13:06:19 +11:00
buffer_utils.hh Add a -debug flag to :edit to set the buffer as debug data 2017-03-08 19:33:25 +00:00
buffer.cc Refactor buffer undo tree 2018-05-02 22:34:55 +10:00
buffer.hh Refactor buffer undo tree 2018-05-02 22:34:55 +10:00
buffer.inl.hh Simplify a bit buffer iteration functions 2017-06-12 06:10:18 +01:00
changes.cc Fix overly strict backward_sorted_until 2017-02-20 19:46:12 +00:00
changes.hh Slight code cleanup in change update functions 2017-11-07 20:00:45 +08:00
client_manager.cc Change client default name: "unnamed0" → "client0" 2018-04-23 11:42:11 +02:00
client_manager.hh Cleanup client name validation code 2018-03-25 16:53:27 +11:00
client.cc Rework the way UI can trigger a client quitting 2018-04-29 22:31:57 +10:00
client.hh Rework the way UI can trigger a client quitting 2018-04-29 22:31:57 +10:00
clock.hh Introduce chrono.hh 2016-07-24 21:25:05 +01:00
color.cc Make error messages more consistent 2018-04-06 16:56:53 +02:00
color.hh Rename br* colors to bright-* 2017-10-24 23:08:22 -04:00
command_manager.cc Make error messages more consistent 2018-04-06 16:56:53 +02:00
command_manager.hh CommandManager: refactor parsing of commands to iterate through tokens 2018-02-15 23:24:19 +11:00
commands.cc Tweak the way register restorers are created to try to fix OSX compilation 2018-05-03 08:14:15 +10:00
commands.hh Remove the exec_keys function 2015-12-27 23:15:09 +00:00
completion.cc Fix infinite loop shell_complete 2017-10-25 11:26:03 +08:00
completion.hh Fixes some clang-tidy warning and add a few missing meta.hh include 2017-03-16 23:34:02 +00:00
constexpr_utils.hh Remove Vector returning split functions, use range adaptor 2017-12-06 17:18:44 +08:00
context.cc Make FaceRegistry scoped 2018-04-07 16:27:50 +10:00
context.hh Make FaceRegistry scoped 2018-04-07 16:27:50 +10:00
coord.hh Constexprify various hash functions 2017-10-20 12:21:22 +08:00
diff.hh diff: try to improve code readability 2018-02-09 21:31:10 +11:00
display_buffer.cc Make FaceRegistry scoped 2018-04-07 16:27:50 +10:00
display_buffer.hh Remove implicit conversion from String to DisplayAtom/DisplayLine 2018-04-29 20:45:53 +10:00
enum.hh Move constexpr compatible Array struct to meta.hh 2017-05-17 20:20:31 +01:00
env_vars.cc Replace IdMap with HashMap 2017-03-07 01:12:37 +00:00
env_vars.hh Replace IdMap with HashMap 2017-03-07 01:12:37 +00:00
event_manager.cc Do not block when waiting for next event if we have pending input 2018-01-21 12:00:40 +11:00
event_manager.hh Do not block when waiting for next event if we have pending input 2018-01-21 12:00:40 +11:00
exception.cc exception::what returns a StringView rather than a const char* 2015-03-13 13:15:51 +00:00
exception.hh Apply clang-tidy modernize to the codebase 2017-01-08 22:39:01 +00:00
face_registry.cc FaceRegistry: Support referencing a named face from a parent scope 2018-04-10 19:57:16 +10:00
face_registry.hh Redraw window when the face definition changed 2018-04-10 20:35:23 +10:00
face.hh Redraw window when the face definition changed 2018-04-10 20:35:23 +10:00
file.cc Make error messages more consistent 2018-04-06 16:56:53 +02:00
file.hh Remove parse_filename overload and use a default parameter 2018-03-25 07:55:39 +11:00
flags.hh Add more constexpr to flags wrapping functions 2017-10-06 13:48:01 +08:00
hash_map.cc Use the _str and _sv string literals more often 2018-01-18 09:00:54 +11:00
hash_map.hh Fix some trailing spaces and a tab that sneaked into the code base 2018-04-05 08:52:33 +10:00
hash.cc Fix various undefined behaviours detected by UBSan 2017-06-26 11:27:18 +01:00
hash.hh Constexprify various hash functions 2017-10-20 12:21:22 +08:00
highlighter_group.cc Make error messages more consistent 2018-04-06 16:56:53 +02:00
highlighter_group.hh Make compute_display_setup methods const 2018-04-06 09:16:59 +10:00
highlighter.cc Make FaceRegistry scoped 2018-04-07 16:27:50 +10:00
highlighter.hh Make FaceRegistry scoped 2018-04-07 16:27:50 +10:00
highlighters.cc Remove implicit conversion from String to DisplayAtom/DisplayLine 2018-04-29 20:45:53 +10:00
highlighters.hh Ensure line-specs and range-specs options are sorted internally 2017-11-02 09:51:15 +08:00
hook_manager.cc Add a -always switch to hook command to ignore hooks disabled 2018-04-26 08:28:11 +10:00
hook_manager.hh Add a -always switch to hook command to ignore hooks disabled 2018-04-26 08:28:11 +10:00
input_handler.cc Add support for explicit menu selection from the UI 2018-05-03 22:28:20 +10:00
input_handler.hh Move Array and ConstexprVector to a constexpr_utils.hh header 2017-11-12 13:01:18 +08:00
insert_completer.cc Add support for explicit menu selection from the UI 2018-05-03 22:28:20 +10:00
insert_completer.hh Add support for explicit menu selection from the UI 2018-05-03 22:28:20 +10:00
json_ui.cc Add support for explicit menu selection from the UI 2018-05-03 22:28:20 +10:00
json_ui.hh Rework the way UI can trigger a client quitting 2018-04-29 22:31:57 +10:00
keymap_manager.cc Unify code that validates identifiers in Kakoune 2018-03-25 16:35:33 +11:00
keymap_manager.hh Remove <scope> from user-modes commands 2018-03-02 09:28:27 +01:00
keys.cc Add support for the shift modifier. 2018-04-11 15:15:45 +10:00
keys.hh Add support for explicit menu selection from the UI 2018-05-03 22:28:20 +10:00
line_modification.cc Fix the Buffer::end() madness 2017-06-11 12:01:40 +01:00
line_modification.hh Rewrite line modifications, hopefully with easier to comprehend code 2015-01-31 23:50:24 +00:00
main.cc Refactor buffer undo tree 2018-05-02 22:34:55 +10:00
Makefile remove dragonflybsd specific logic since pkg-config works perfectly fine now 2018-04-22 09:12:45 -07:00
memory.cc refactor slighly memory domain handling 2015-01-12 19:48:51 +00:00
memory.hh Regex: Introduce a Regex memory domain to track usage separately 2017-11-01 14:05:14 +08:00
meta.hh Move Array and ConstexprVector to a constexpr_utils.hh header 2017-11-12 13:01:18 +08:00
ncurses_ui.cc Rework the way UI can trigger a client quitting 2018-04-29 22:31:57 +10:00
ncurses_ui.hh Rework the way UI can trigger a client quitting 2018-04-29 22:31:57 +10:00
normal.cc Refactor buffer undo tree 2018-05-02 22:34:55 +10:00
normal.hh Add declare-user-mode / enter-user-mode commands 2018-02-12 14:19:58 +01:00
option_manager.cc Give more hints in "option not found" error. 2018-03-27 19:14:41 +02:00
option_manager.hh Unify code that validates identifiers in Kakoune 2018-03-25 16:35:33 +11:00
option_types.hh Make set -add replace existing value when applied to a map option 2018-03-30 09:26:39 +11:00
option.hh Move Array and ConstexprVector to a constexpr_utils.hh header 2017-11-12 13:01:18 +08:00
optional.hh Code style tweak in optional.hh 2017-09-01 16:54:06 +07:00
parameters_parser.cc Commands: Refactor generate_switches_doc 2018-02-28 15:32:11 +11:00
parameters_parser.hh Move all non-core string code to string_utils.{hh,cc} 2017-10-10 10:52:32 +08:00
ranges.cc Ranges: add unit test and fix corner case in split view 2017-12-07 01:58:19 +08:00
ranges.hh Extract a for_n_best algorithm from completion function 2018-04-19 07:58:42 +10:00
ranked_match.cc RankedMatch: Do not compare word boundary match count on single word matches 2018-03-15 23:20:03 +11:00
ranked_match.hh Make non smart case full match better than smart case full match 2017-07-19 20:18:47 +02:00
ref_ptr.hh RefPtr: use inconditional noexcept specification on destructor 2018-02-28 15:04:00 +11:00
regex_impl.cc Fix wrong use of constexpr 2018-04-30 07:41:31 +10:00
regex_impl.hh Regex: small code style tweak 2018-04-29 19:58:18 +10:00
regex.cc Regex: Support forward and backward matching code in the same CompiledRegex 2017-12-01 19:57:02 +08:00
regex.hh Refactor RegexIterator::next to directly use a ThreadedRegexVM 2018-04-25 21:20:32 +10:00
register_manager.cc Move all non-core string code to string_utils.{hh,cc} 2017-10-10 10:52:32 +08:00
register_manager.hh Migrate code to c++14 2017-07-19 08:47:14 +02:00
remote.cc Rework the way UI can trigger a client quitting 2018-04-29 22:31:57 +10:00
remote.hh Restore client name after converting to client 2018-03-23 07:36:18 +11:00
safe_ptr.hh Fix SafeCountable and RefCountable copy/move logic 2017-08-04 11:38:04 +07:00
scope.cc Add a GlobalSetOption hook 2018-03-05 10:39:14 +11:00
scope.hh Docs: add exhaustive list of scoped objects 2018-04-28 17:41:24 +02:00
selection.cc Detect no-op replaces and do not act on them 2018-03-09 23:07:05 +11:00
selection.hh Remove SelectionList::update_timestamp() 2018-03-04 10:35:24 +11:00
selectors.cc Make error messages more consistent 2018-04-06 16:56:53 +02:00
selectors.hh Text-Objects: Use regex to select surroundings 2017-12-03 17:15:24 +08:00
shared_string.cc Move all non-core string code to string_utils.{hh,cc} 2017-10-10 10:52:32 +08:00
shared_string.hh Replace uses of UnorderedMap with HashMap 2017-03-07 01:03:26 +00:00
shell_manager.cc Make FaceRegistry scoped 2018-04-07 16:27:50 +10:00
shell_manager.hh ShellManager: init from a static list of env vars 2018-02-18 14:52:29 +11:00
string_utils.cc Add a debug regex command to dump regex instructions 2018-04-27 08:35:09 +10:00
string_utils.hh Fix tests after changes to json_ui output 2018-04-29 23:06:24 +10:00
string.cc Move all non-core string code to string_utils.{hh,cc} 2017-10-10 10:52:32 +08:00
string.hh Fix some trailing spaces and a tab that sneaked into the code base 2018-04-05 08:52:33 +10:00
unicode.hh Unify code that validates identifiers in Kakoune 2018-03-25 16:35:33 +11:00
unit_tests.cc More refactoring of the diff code in order to make it cleaner 2017-07-18 16:11:24 +02:00
unit_tests.hh Small refactor in unit tests 2015-05-24 22:34:05 +01:00
units.hh Constexprify various hash functions 2017-10-20 12:21:22 +08:00
user_interface.hh Rework the way UI can trigger a client quitting 2018-04-29 22:31:57 +10:00
utf8_iterator.hh Make utf8_iterator traits clear about it returning non-references 2017-10-07 21:54:59 +08:00
utf8.hh Fix utf8::to_previous that could go before the begin iterator 2017-10-10 10:53:24 +08:00
utils.hh Make OnScopeEnd valid even when non-copy elided 2018-05-01 22:47:06 +10:00
value.hh Small code simplifications 2017-09-07 19:38:34 +08:00
vector.hh Modernize the way we compute memory domains from type 2017-05-26 07:59:18 +01:00
window.cc Redraw window when the face definition changed 2018-04-10 20:35:23 +10:00
window.hh Redraw window when the face definition changed 2018-04-10 20:35:23 +10:00
word_db.cc Move get_word_db to word_db.cc 2018-04-19 07:58:42 +10:00
word_db.hh Move get_word_db to word_db.cc 2018-04-19 07:58:42 +10:00