kakoune/src
Maxime Coste 08e0b663f7 Fix unintended interpretation of ranges length syntax
Ranges specified with a +<length> were inconsistent, with +0 meaning
an empty range, while +1 meant a two character long range (first character
+ the following one). Change that to mean a single character.

Fixes #3479
2020-05-29 12:25:57 +10: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 Fix array_view dependency on std::min 2019-01-24 22:55:20 +11: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 Add a new 'arrange-buffers' to let users change the order of the buflist 2020-02-24 09:41:46 +01:00
buffer_manager.hh Add a new 'arrange-buffers' to let users change the order of the buflist 2020-02-24 09:41:46 +01:00
buffer_utils.cc Support piping data to client stdin 2020-05-10 19:30:13 +10:00
buffer_utils.hh Support piping data to client stdin 2020-05-10 19:30:13 +10:00
buffer.cc Remove posB from information given by the diff algorithm 2020-03-20 20:27:50 +11:00
buffer.hh Add 'history' and 'uncommitted_modifications' expansions 2020-01-01 19:47:29 -05: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 Support empty ranges in replace-ranges highlighter 2020-04-06 11:23:47 +10:00
client_manager.cc Add a range based remove_if overload 2020-05-29 11:59:03 +10:00
client_manager.hh Prevent conversion to client on suspend from disconnecting other clients 2019-04-12 13:23:38 +10:00
client.cc Redraw relevant clients after adding/removing highlighters 2019-12-28 11:27:04 +11: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 Merge remote-tracking branch 'lenormf/fix-completion-escaping' 2020-03-13 08:08:17 +11:00
command_manager.hh Handle invalid utf8 in command line a bit better 2020-03-13 08:02:58 +11:00
commands.cc Output debug memory stats in a nice table 2020-05-19 17:16:37 +10: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 Introduce Menu completion flags to auto select best candidate 2019-05-17 19:52:22 +10: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 Redraw relevant clients after adding/removing highlighters 2019-12-28 11:27:04 +11:00
context.hh Ensure current context switches away from buffer on delete-buffer 2019-07-22 20:26:39 +10: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 multi-line replace-ranges 2020-04-27 17:39:21 +10:00
display_buffer.hh Support multi-line replace-ranges 2020-04-27 17:39:21 +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 Fixed all reorder warnings 2019-02-27 22:45:31 -08:00
event_manager.hh EventManager: Never block if a forced file descriptor is present 2018-06-03 12:17:38 +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 Document that fg face is optional 2019-12-03 21:17:33 +11: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 alpha channel in colors 2020-05-02 12:57:36 +10:00
file.cc Fix get_kak_binary_path() for NetBSD 2020-04-23 03:24:24 +02:00
file.hh src: Reload buffers when their contents' hash changes 2019-12-03 17:05:24 +01: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 Add HashMap::items to access item list 2018-07-05 07:54:28 +10:00
hash.cc Fix various undefined behaviours detected by UBSan 2017-06-26 11:27:18 +01: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 Add -override support to add-highlighter 2020-03-30 21:04:01 +11:00
highlighter.cc Add -override support to add-highlighter 2020-03-30 21:04:01 +11:00
highlighter.hh Add -override support to add-highlighter 2020-03-30 21:04:01 +11:00
highlighters.cc Fix unintended interpretation of ranges length syntax 2020-05-29 12:25:57 +10:00
highlighters.hh Refactor option_from_string to return directly the option value 2018-05-27 13:00:50 +10:00
hook_manager.cc Add a range based remove_if overload 2020-05-29 11:59:03 +10:00
hook_manager.hh Make on_next_key_with_autoinfo() respect idle_timeout 2020-02-27 10:36:15 -05:00
input_handler.cc Merge remote-tracking branch 'Anfid/scroll-test' 2020-03-15 12:32:54 +11:00
input_handler.hh Merge remote-tracking branch 'Anfid/scroll-test' 2020-03-15 12:32:54 +11:00
insert_completer.cc Fix invalid access to deleted line when updating insert completion 2020-03-14 13:49:52 +11:00
insert_completer.hh Change completions option docstring element to be an arbitrary command 2019-04-17 08:38:52 +02:00
json_ui.cc Fix build on FreeBSD again 2019-12-10 18:13:08 +01: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 Parse ascii newline/tab/escape as special keys instead of control keys 2020-04-13 12:44:15 +10:00
keys.hh Make scrolling speed configurable 2019-08-19 22:16:39 +10:00
line_modification.cc Add a range based remove_if overload 2020-05-29 11:59:03 +10:00
line_modification.hh Introduce FunctionRef to replace std::function when not storing 2019-09-01 13:04:47 +10:00
main.cc Support piping data to client stdin 2020-05-10 19:30:13 +10:00
Makefile rc Makefile: Fix the predicate to detect g++ 2020-03-12 17:04:34 +03:00
memory.cc Track more memory statistics 2019-03-21 20:35:22 +11:00
memory.hh Track more memory statistics 2019-03-21 20:35:22 +11:00
meta.hh Use BufferCoord sentinel type for regex matching on BufferIterators 2018-11-01 21:51:10 +11:00
ncurses_ui.cc Fix CSI u parsing of some special keys 2020-05-12 08:50:27 +10:00
ncurses_ui.hh Untie focus reporting and mouse handling 2020-03-27 07:54:21 +11:00
normal.cc Avoid to_remove vector in select helper function 2020-05-29 12:00:02 +10: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 Header and dependency cleanup 2019-01-24 21:22:20 +11: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 Fix quoting of tuple options 2019-06-27 22:42:12 +10:00
option.hh Remove explicit sizes from make_array calls 2019-10-17 22:48:22 +11:00
optional.hh Support piping data to client stdin 2020-05-10 19:30:13 +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 Move LineRangeSet to line_modification.hh 2018-10-21 12:10:21 +11: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 Fix regex start desc computation for case insensitive ranges 2020-02-07 07:37:29 +11:00
regex_impl.hh Do not decode utf-8 when looking for regex next start 2019-12-04 22:33:11 +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 src: Complete register names in %reg{} expansions 2019-11-23 08:47:14 +01:00
register_manager.hh Fix invalid memory access when getting the main entry of empty registers 2020-02-15 15:42:08 +11:00
remote.cc Fix use of unportable MSG_CMSG_CLOEXEC 2020-05-17 21:28:40 +10:00
remote.hh Support piping data to client stdin 2020-05-10 19:30:13 +10:00
safe_ptr.hh Header and dependency cleanup 2019-01-24 21:22:20 +11:00
scope.cc Refactor option_to_string quoting support, introduce Quoting::Raw 2019-06-19 23:04:16 +10:00
scope.hh Add override 2019-11-09 12:53:45 -05:00
selection.cc Avoid to_remove vector in select helper function 2020-05-29 12:00:02 +10:00
selection.hh Avoid to_remove vector in select helper function 2020-05-29 12:00:02 +10:00
selectors.cc Fix crash when selecting previous paragraph at buffer begin 2020-05-17 14:15:48 +02:00
selectors.hh Remove explicit sizes from make_array calls 2019-10-17 22:48:22 +11: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 Expand env vars as list of strings 2020-03-02 20:53:28 +11:00
shell_manager.hh Expand env vars as list of strings 2020-03-02 20:53:28 +11:00
string_utils.cc Output debug memory stats in a nice table 2020-05-19 17:16:37 +10:00
string_utils.hh Output debug memory stats in a nice table 2020-05-19 17:16:37 +10:00
string.cc Fix String::resize not zero-terminating 2019-11-17 09:50:18 +11:00
string.hh Fix empty strings not being zero terminated 2020-03-29 20:28:56 +11:00
unicode.hh Header and dependency cleanup 2019-01-24 21:22:20 +11: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 Add support for markup in info boxes 2019-11-22 21:50:51 +11: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 Fix WinResize hook getting triggered during urgent event processing 2019-12-16 14:07:22 +11:00
window.hh Fix window_range expansion 2019-12-16 14:09:20 +11:00
word_db.cc Limit the amounts of calls to get_extra_word_chars 2019-08-31 13:14:46 +10:00
word_db.hh Limit the amounts of calls to get_extra_word_chars 2019-08-31 13:14:46 +10:00