kakoune/src
Maxime Coste 689553c2e9 Split InsertMode into InsertMode and PasteMode
They are quite different use cases, and this allow moving InsertMode
to input_handler.hh which is what uses it.

This also cleans up the code as we can get rid of get_insert_pos and
rely more on SelectionList::for_each.
2021-10-10 11:02:09 +11:00
..
.gdbinit Embed gdb pretty-printing script directly into Kakoune binary 2019-01-23 20:27:16 +11: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 Refactor how InsetCompletionHide hook parameter is computed 2020-06-27 13:33:50 +10:00
assert.cc Fix undefined behavior in notify_fatal_error 2018-10-05 10:10:14 +01: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 Support opening files bigger than 2 GiB 2021-05-28 17:03:41 +10:00
buffer_manager.hh Remove unnecessary forward declaration 2021-07-20 22:30:41 +10:00
buffer_utils.cc Fix File Buffer flag not being correctly applied 2021-05-28 20:31:28 +10:00
buffer_utils.hh rework selection insert/replace using a for_each method 2021-09-30 20:12:58 +10:00
buffer.cc Support opening files bigger than 2 GiB 2021-05-28 17:03:41 +10:00
buffer.hh Support opening files bigger than 2 GiB 2021-05-28 17:03:41 +10:00
buffer.inl.hh Use BufferCoord sentinel type for regex matching on BufferIterators 2018-11-01 21:51:10 +11:00
changes.cc Fix overly strict backward_sorted_until 2017-02-20 19:46:12 +00:00
changes.hh Binary search for first range to change 2021-03-08 16:55:43 -05:00
client_manager.cc Move control character escaping responsibility to the terminal UI 2021-08-17 20:40:30 +10:00
client_manager.hh Always redraw after getting some user input 2021-03-11 09:08:35 +11:00
client.cc src: Show a readonly modeline tag when relevant 2021-09-21 12:59:30 +03:00
client.hh Add support for markup in info boxes 2019-11-22 21:50:51 +11:00
clock.hh Remove DurationMs and slight code refactor 2018-12-28 06:27:35 +11:00
color.cc Add support for alpha channel in colors 2020-05-02 12:57:36 +10:00
color.hh Add support for alpha channel in colors 2020-05-02 12:57:36 +10:00
command_manager.cc Restore prompt completion for "%opt{" 2021-08-09 22:46:06 +02:00
command_manager.hh Remove command parsing Reader and just track a ParserState 2021-07-09 17:03:22 +10:00
commands.cc Grammar 2021-10-07 04:59:03 +02:00
commands.hh Re-introduce kill_session::exit_status, @lenormf was right 2018-07-19 19:27:56 +10:00
completion.cc Do not expose C++ typeid().name to user facing errors on wrong option type 2018-05-26 10:01:26 +10:00
completion.hh Restore auto-select on return, add a flag to disable that for commands 2020-11-18 19:56:05 +11:00
constexpr_utils.hh Refactor Hook management to have a well defined list of hooks 2018-10-23 08:15:53 +11:00
context.cc src: Allow ga to skip removed buffers 2021-10-06 08:44:47 +02:00
context.hh src: Allow ga to skip removed buffers 2021-10-06 08:44:47 +02:00
coord.hh Constexprify various hash functions 2017-10-20 12:21:22 +08:00
diff.hh Remove posB from information given by the diff algorithm 2020-03-20 20:27:50 +11:00
display_buffer.cc Support info markup spanning multiple lines 2021-08-28 13:53:23 +10:00
display_buffer.hh Support info markup spanning multiple lines 2021-08-28 13:53:23 +10:00
enum.hh Move constexpr compatible Array struct to meta.hh 2017-05-17 20:20:31 +01:00
env_vars.cc Do not copy environment strings, just refer to them 2019-03-21 20:43:24 +11:00
env_vars.hh Replace IdMap with HashMap 2017-03-07 01:12:37 +00:00
event_manager.cc Do not select on non-urgent fd when handling only urgent events 2021-03-11 09:02:02 +11:00
event_manager.hh Add support for $kak_command_fifo and $kak_response_fifo 2021-07-07 19:25:06 +10:00
exception.cc exception::what returns a StringView rather than a const char* 2015-03-13 13:15:51 +00:00
exception.hh Rework fail command not to display command call stack 2018-05-26 21:31:17 +10:00
face_registry.cc Add standard DiagnosticError and DiagnosticWarning faces. 2021-09-07 17:46:50 +10:00
face_registry.hh Change faces alias to be a base that can be modified 2019-04-23 23:15:23 +01:00
face.hh Add support for curly underline and separate underline color 2021-09-07 08:21:26 +10:00
file.cc Find the executable path on the GNU Hurd, too. 2021-08-21 17:14:21 +03:00
file.hh Use a BufferedWriter to output in the terminal ui instead of stdio 2021-08-01 20:07:20 +10:00
flags.hh Add more constexpr to flags wrapping functions 2017-10-06 13:48:01 +08:00
hash_map.cc Fix use of removed std::random_shuffle 2019-01-20 22:59:28 +11:00
hash_map.hh Code style tweaks 2020-07-19 12:54:41 +10:00
hash.cc Support opening files bigger than 2 GiB 2021-05-28 17:03:41 +10:00
hash.hh Header and dependency cleanup 2019-01-24 21:22:20 +11:00
highlighter_group.cc Add -override support to add-highlighter 2020-03-30 21:04:01 +11:00
highlighter_group.hh Rename DefinedHighlighters to SharedHighlighters 2020-08-08 11:19:02 +10:00
highlighter.cc Add -override support to add-highlighter 2020-03-30 21:04:01 +11:00
highlighter.hh Grammar 2021-10-07 04:54:55 +02:00
highlighters.cc fix show-whitespace: add missing NNBSP character 2021-03-31 15:28:23 +02:00
highlighters.hh Use inplace_merge() for ranges 2021-03-09 10:13:31 -05:00
hook_manager.cc Add a range based remove_if overload 2020-05-29 11:59:03 +10:00
hook_manager.hh Add a RegisterModified hook 2020-07-19 12:56:55 +10:00
input_handler.cc Split InsertMode into InsertMode and PasteMode 2021-10-10 11:02:09 +11:00
input_handler.hh Split InsertMode into InsertMode and PasteMode 2021-10-10 11:02:09 +11:00
insert_completer.cc fix line completion with prefix 2021-04-11 11:54:48 +08:00
insert_completer.hh Refactor how InsetCompletionHide hook parameter is computed 2020-06-27 13:33:50 +10:00
json_ui.cc Add support for curly underline and separate underline color 2021-09-07 08:21:26 +10:00
json_ui.hh Add support for markup in info boxes 2019-11-22 21:50:51 +11:00
json.cc Fix invalid memory access in unit-tests 2020-03-04 12:08:16 +11:00
json.hh src: Move JSON parsing code to its own file 2019-11-17 09:27:46 +01:00
keymap_manager.cc Add a way to unmap all keys of a given mode at once 2018-09-23 19:40:38 +02:00
keymap_manager.hh Add a way to unmap all keys of a given mode at once 2018-09-23 19:40:38 +02:00
keys.cc Fix focus_in/focus_out keys not having user friendly names 2021-05-28 20:32:12 +10:00
keys.hh Refactor mouse press/release handling to support 3 buttons 2020-06-28 19:48:55 +10:00
line_modification.cc Support opening files bigger than 2 GiB 2021-05-28 17:03:41 +10:00
line_modification.hh Introduce FunctionRef to replace std::function when not storing 2019-09-01 13:04:47 +10:00
main.cc Restore diff based terminal output optimization when synchronized 2021-09-26 11:03:50 +10:00
Makefile src: Uninstall libexec properly 2021-09-08 14:26:48 +03:00
memory.cc Track more memory statistics 2019-03-21 20:35:22 +11:00
memory.hh always inline custom operator new/delete to avoid spurious warnings 2021-07-26 16:55:36 +10:00
meta.hh Use BufferCoord sentinel type for regex matching on BufferIterators 2018-11-01 21:51:10 +11:00
normal.cc Split InsertMode into InsertMode and PasteMode 2021-10-10 11:02:09 +11:00
normal.hh Add static or const where useful 2019-11-09 12:53:45 -05:00
option_manager.cc Defer deletion of unsetted option to return to main loop 2019-01-20 22:46:40 +11:00
option_manager.hh Add support for removing from options 2020-09-09 21:00:30 +10:00
option_types.cc Change option lists to be specified as separate arguments on commands line 2018-07-05 07:54:28 +10:00
option_types.hh Add support for removing from options 2020-09-09 21:00:30 +10:00
option.hh Add support for removing from options 2020-09-09 21:00:30 +10:00
optional.hh Avoid copying token content strings in expand_token 2021-07-09 17:03:22 +10:00
parameters_parser.cc Do not keep a reference to ParametersDesc inside ParameterParser 2019-05-10 23:46:16 +10:00
parameters_parser.hh Do not keep a reference to ParametersDesc inside ParameterParser 2019-05-10 23:46:16 +10:00
range.hh Refactor how InsetCompletionHide hook parameter is computed 2020-06-27 13:33:50 +10:00
ranges.cc Change pipe diffing to work linewise 2019-01-23 20:20:54 +11:00
ranges.hh Add a range based remove_if overload 2020-05-29 11:59:03 +10:00
ranked_match.cc Rank a word-boundary after a non-word-boundary 2019-09-07 22:53:29 +02: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 Use the [[gnu::packed]] C++ attribute. 2021-08-21 17:06:14 +03:00
regex_impl.hh Raise ThreadedVM initial thread capacity to 16 2021-03-03 20:51:24 +11:00
regex.cc Try to bypass clang crash 2019-01-20 22:59:28 +11:00
regex.hh Split compile time regex flags from runtime ones 2019-01-20 22:59:28 +11:00
register_manager.cc Do not trigger RegisterModified hooks on register about to be restored 2020-07-21 20:27:42 +10:00
register_manager.hh commands: add "registers" subcommand to :debug 2020-12-23 14:22:44 -08:00
remote.cc Rework session directory logic 2021-05-01 15:29:50 +10:00
remote.hh Rework session directory logic 2021-05-01 15:29:50 +10:00
safe_ptr.hh Header and dependency cleanup 2019-01-24 21:22:20 +11:00
scope.cc Do not include non-primitive option value in *SetOption hook filter 2020-06-09 21:38:47 +10:00
scope.hh Add override 2019-11-09 12:53:45 -05:00
selection.cc Split InsertMode into InsertMode and PasteMode 2021-10-10 11:02:09 +11:00
selection.hh Split InsertMode into InsertMode and PasteMode 2021-10-10 11:02:09 +11:00
selectors.cc Ensure that the capture group actually matched in select_matches 2020-09-22 21:14:40 +10:00
selectors.hh Ensure that the capture group actually matched in select_matches 2020-09-22 21:14:40 +10:00
shared_string.cc Fix shared string registry ref count stats 2018-07-26 22:20:19 +10:00
shared_string.hh Replace uses of UnorderedMap with HashMap 2017-03-07 01:03:26 +00:00
shell_manager.cc Avoid "env var" in error message for unknown %val expansion 2021-08-10 08:23:14 +02:00
shell_manager.hh Expand env vars as list of strings 2020-03-02 20:53:28 +11:00
string_utils.cc Add a format_with format function that takes a FunctionRef append 2021-07-31 09:45:05 +10:00
string_utils.hh Add a format_with format function that takes a FunctionRef append 2021-07-31 09:45:05 +10:00
string.cc Improve code-generation for Strings 2021-07-20 22:30:41 +10:00
string.hh Take a function SelectionList::insert to get string to insert 2021-08-30 16:14:26 +10:00
terminal_ui.cc Restore diff based terminal output optimization when synchronized 2021-09-26 11:03:50 +10:00
terminal_ui.hh Remove terminal_wheel_up/down_button UI option 2021-09-02 20:46:35 +10:00
unicode.hh Follow ECMA specification for regex whitespace 2021-02-25 11:03:18 -05:00
unit_tests.cc Remove posB from information given by the diff algorithm 2020-03-20 20:27:50 +11: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 Add support for markup in info boxes 2019-11-22 21:50:51 +11:00
utf8_iterator.hh Header and dependency cleanup 2019-01-24 21:22:20 +11:00
utf8.hh Rank a word-boundary after a non-word-boundary 2019-09-07 22:53:29 +02:00
utils.hh Take a function SelectionList::insert to get string to insert 2021-08-30 16:14:26 +10:00
value.hh Small code simplifications 2017-09-07 19:38:34 +08:00
vector.hh Only redraw updated lines 2021-07-12 10:25:58 +10:00
window.cc Grammar 2021-10-07 04:57:29 +02:00
window.hh Fix window_range expansion 2019-12-16 14:09:20 +11:00
word_db.cc Support opening files bigger than 2 GiB 2021-05-28 17:03:41 +10:00
word_db.hh Fix performance issue with word completion 2020-11-07 10:42:51 +11:00