kakoune/src
Maxime Coste d9d2140ea2 Fix regex not always selecting the leftmost longest match
(Actually the rightmost longest match when searching backwards)

Fixes #2710
2019-02-04 17:33:29 +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 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 Do not reuse m_buffer_trash to store dying buffers in ~BufferManager 2018-05-21 20:30:24 +10:00
buffer_manager.hh Small cleanup in BufferManager code 2016-11-29 19:12:10 +00:00
buffer_utils.cc Change BufReadFifo hook param to contain the inserted range 2018-11-14 17:52:57 +11:00
buffer_utils.hh Buffer begin and end are not end-of-words 2018-10-08 12:40:52 +11:00
buffer.cc Always select inserted text after piping 2019-01-23 20:14:08 +11:00
buffer.hh Fix warning on gcc 8 2019-01-20 22:59:28 +11: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 Extract update_ranges_ifn as a general utility function 2018-06-11 15:10:30 +10:00
client_manager.cc Refactor Hook management to have a well defined list of hooks 2018-10-23 08:15:53 +11:00
client_manager.hh Cleanup client name validation code 2018-03-25 16:53:27 +11:00
client.cc Refactor Hook management to have a well defined list of hooks 2018-10-23 08:15:53 +11:00
client.hh Small code cleanups 2018-05-17 22:55:53 +10:00
clock.hh Remove DurationMs and slight code refactor 2018-12-28 06:27:35 +11:00
color.cc Refactor option_from_string to return directly the option value 2018-05-27 13:00:50 +10:00
color.hh Refactor option_from_string to return directly the option value 2018-05-27 13:00:50 +10:00
command_manager.cc Use shell specific quoting for env vars 2018-08-29 07:53:59 +10:00
command_manager.hh Make expansion of strings support quoting of % by doubling up 2018-07-05 07:54:28 +10:00
commands.cc Add missing [<switches>] argument to declare-option 2019-01-25 00:03:20 +01: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 Header and dependency cleanup 2019-01-24 21:22:20 +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 Only commit undo groups when buffer was modified 2018-09-12 20:02:57 +10:00
context.hh Header and dependency cleanup 2019-01-24 21:22:20 +11: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 Move LineRangeSet to line_modification.hh 2018-10-21 12:10:21 +11: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 EventManager: Never block if a forced file descriptor is present 2018-06-03 12:17:38 +10: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 Misc fixes 2018-09-24 09:54:21 +02:00
face_registry.hh Redraw window when the face definition changed 2018-04-10 20:35:23 +10:00
face.hh Misc fixes 2018-09-24 09:54:21 +02:00
file.cc Replace std::tie with structured bindings 2019-01-24 21:21:59 +11:00
file.hh src: Add a -sync flag to the write commands 2018-07-04 09:49:53 +03: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 Tweak how highlighter names are auto-generated 2018-07-05 07:54:28 +10:00
highlighter_group.hh Refactor add-highlighter to make naming explicit 2018-07-05 07:54:28 +10:00
highlighter.cc Refactor add-highlighter to make naming explicit 2018-07-05 07:54:28 +10:00
highlighter.hh Header and dependency cleanup 2019-01-24 21:22:20 +11:00
highlighters.cc Header and dependency cleanup 2019-01-24 21:22:20 +11:00
highlighters.hh Refactor option_from_string to return directly the option value 2018-05-27 13:00:50 +10:00
hook_manager.cc Gather the list of hooks to run before running the parent 2018-12-09 10:07:40 +11:00
hook_manager.hh Header and dependency cleanup 2019-01-24 21:22:20 +11:00
input_handler.cc Header and dependency cleanup 2019-01-24 21:22:20 +11:00
input_handler.hh Header and dependency cleanup 2019-01-24 21:22:20 +11:00
insert_completer.cc Refactor Hook management to have a well defined list of hooks 2018-10-23 08:15:53 +11:00
insert_completer.hh Fix manual insert completion menu not getting automatically hidden 2018-07-15 11:46:02 +10:00
json_ui.cc Replace std::tie with structured bindings 2019-01-24 21:21:59 +11:00
json_ui.hh Rework the way UI can trigger a client quitting 2018-04-29 22:31:57 +10: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 src: Add support for right click events 2018-12-20 14:32:18 +03:00
keys.hh src: Add support for right click events 2018-12-20 14:32:18 +03:00
line_modification.cc Header and dependency cleanup 2019-01-24 21:22:20 +11:00
line_modification.hh Header and dependency cleanup 2019-01-24 21:22:20 +11:00
main.cc Add missing locale include to main.cc 2019-01-24 23:04:31 +11:00
Makefile Default to release build 2019-01-22 19:41:58 +11:00
memory.cc refactor slighly memory domain handling 2015-01-12 19:48:51 +00:00
memory.hh maintain a list of valid ranges for region highlighting 2018-10-14 09:48:39 +11:00
meta.hh Use BufferCoord sentinel type for regex matching on BufferIterators 2018-11-01 21:51:10 +11:00
ncurses_ui.cc src: Add support for right click events 2018-12-20 14:32:18 +03:00
ncurses_ui.hh Refactor parsing of keys and introduce a builtin key parser mode 2018-12-09 21:35:22 +11:00
normal.cc Remove references to SelectionList from selectors 2019-02-04 12:52:55 +11:00
normal.hh Header and dependency cleanup 2019-01-24 21:22:20 +11: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 setting a prefix list option with an empty list 2018-08-30 20:27:10 +10:00
option.hh Quote every option type but integral types 2018-07-24 20:26:24 +10:00
optional.hh Add Optional::value_or_compute for lazy computation of default value 2019-01-03 22:49:40 +11:00
parameters_parser.cc Remove extra spaces for switches list in info 2018-10-28 13:34:19 +01:00
parameters_parser.hh Parse unknown switches as positional for region highlighters 2018-07-05 07:54:28 +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 Replace std::mem_fn with custom lambda in ranges 2019-01-24 23:24:50 +11: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 regex not always selecting the leftmost longest match 2019-02-04 17:33:29 +11:00
regex_impl.hh Fix regex not always selecting the leftmost longest match 2019-02-04 17:33:29 +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 Move all non-core string code to string_utils.{hh,cc} 2017-10-10 10:52:32 +08:00
register_manager.hh Avoid needless constant allocation in StaticRegister::set 2018-05-17 07:41:32 +10:00
remote.cc Fix missing errno include 2019-01-24 23:24:50 +11:00
remote.hh Use $USER if getpwuid fails 2018-08-24 10:50:59 -04:00
safe_ptr.hh Header and dependency cleanup 2019-01-24 21:22:20 +11:00
scope.cc Refactor Hook management to have a well defined list of hooks 2018-10-23 08:15:53 +11:00
scope.hh Docs: add exhaustive list of scoped objects 2018-04-28 17:41:24 +02:00
selection.cc Always select inserted text after piping 2019-01-23 20:14:08 +11:00
selection.hh Remove references to SelectionList from selectors 2019-02-04 12:52:55 +11:00
selectors.cc Remove references to SelectionList from selectors 2019-02-04 12:52:55 +11:00
selectors.hh Remove references to SelectionList from selectors 2019-02-04 12:52:55 +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 Fix missing errno include 2019-01-24 23:24:50 +11:00
shell_manager.hh Use shell specific quoting for env vars 2018-08-29 07:53:59 +10:00
string_utils.cc Make '_' the default extra_word_chars, and remove built-in support 2018-11-27 18:16:21 +11:00
string_utils.hh Use shell specific quoting for env vars 2018-08-29 07:53:59 +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 Header and dependency cleanup 2019-01-24 21:22:20 +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 Add MenuStyle::Search that prevents the menu from hiding buffer text 2018-06-03 12:17:38 +10:00
utf8_iterator.hh Header and dependency cleanup 2019-01-24 21:22:20 +11:00
utf8.hh Use an InvalidPolicy in utf8::dump and utf8::codepoint_size 2019-01-13 18:29:20 +11:00
utils.hh Cleanup regex lookarounds implementation and reject incompatible regex 2018-10-10 22:47:59 +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 Header and dependency cleanup 2019-01-24 21:22:20 +11:00
window.hh Refactor Hook management to have a well defined list of hooks 2018-10-23 08:15:53 +11:00
word_db.cc Header and dependency cleanup 2019-01-24 21:22:20 +11:00
word_db.hh Header and dependency cleanup 2019-01-24 21:22:20 +11:00