home/src
Maxime Coste 3ae2a5c2f6 Fix performance issue with word completion
When pasting many words with <a-p> we can end-up with a huge
concatenated word and many selections, the previous code ended
up iterating from each selection cursor to that word start and
end to find the word under the cursor.

This could lead to performance issue as each selection would
trigger iteration on that huge word. This is unnecessary as
word completion has a word length limit, so we now take it into
account to avoid iterating to far from the cursor position.
2020-11-07 10:42:51 +11:00
..
.gdbinit
alias_registry.cc
alias_registry.hh Make FaceRegistry scoped 2018-04-07 16:27:50 +10:00
array_view.hh
assert.cc
assert.hh
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
buffer_manager.hh
buffer_utils.cc
buffer_utils.hh Refactor how InsetCompletionHide hook parameter is computed 2020-06-27 13:33:50 +10:00
buffer.cc
buffer.hh
buffer.inl.hh
changes.cc
changes.hh
client_manager.cc
client_manager.hh
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
color.cc
color.hh
command_manager.cc
command_manager.hh
commands.cc Replace write -atomic with write -method <method> 2020-10-27 20:20:18 +11:00
commands.hh
completion.cc
completion.hh
constexpr_utils.hh Refactor Hook management to have a well defined list of hooks 2018-10-23 08:15:53 +11:00
context.cc
context.hh
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
env_vars.hh
event_manager.cc
event_manager.hh
exception.cc
exception.hh Rework fail command not to display command call stack 2018-05-26 21:31:17 +10:00
face_registry.cc
face_registry.hh
face.hh
file.cc
file.hh
flags.hh
hash_map.cc
hash_map.hh
hash.cc
hash.hh
highlighter_group.cc
highlighter_group.hh Rename DefinedHighlighters to SharedHighlighters 2020-08-08 11:19:02 +10:00
highlighter.cc
highlighter.hh
highlighters.cc
highlighters.hh Refactor option_from_string to return directly the option value 2018-05-27 13:00:50 +10:00
hook_manager.cc
hook_manager.hh
input_handler.cc
input_handler.hh Merge remote-tracking branch 'Anfid/scroll-test' 2020-03-15 12:32:54 +11:00
insert_completer.cc
insert_completer.hh
json_ui.cc
json_ui.hh Add support for markup in info boxes 2019-11-22 21:50:51 +11:00
json.cc
json.hh
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
keys.cc
keys.hh
line_modification.cc
line_modification.hh
main.cc
Makefile
memory.cc
memory.hh
meta.hh
ncurses_ui.cc
ncurses_ui.hh Untie focus reporting and mouse handling 2020-03-27 07:54:21 +11:00
normal.cc
normal.hh
option_manager.cc
option_manager.hh
option_types.cc
option_types.hh
option.hh Add support for removing from options 2020-09-09 21:00:30 +10:00
optional.hh Support piping data to client stdin 2020-05-10 19:30:13 +10:00
parameters_parser.cc
parameters_parser.hh
range.hh
ranges.cc
ranges.hh
ranked_match.cc
ranked_match.hh
ref_ptr.hh
regex_impl.cc
regex_impl.hh
regex.cc
regex.hh
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
remote.cc
remote.hh
safe_ptr.hh
scope.cc
scope.hh
selection.cc
selection.hh
selectors.cc
selectors.hh
shared_string.cc
shared_string.hh
shell_manager.cc
shell_manager.hh
string_utils.cc
string_utils.hh
string.cc
string.hh
unicode.hh
unit_tests.cc
unit_tests.hh
units.hh Constexprify various hash functions 2017-10-20 12:21:22 +08:00
user_interface.hh
utf8_iterator.hh
utf8.hh
utils.hh
value.hh
vector.hh Modernize the way we compute memory domains from type 2017-05-26 07:59:18 +01:00
window.cc
window.hh
word_db.cc
word_db.hh