kakoune/src
Maxime Coste 3921b234e7 Store fake keystrokes when selecting an insert completion candidate
Instead of storing the real 'select next completion' keystroke,
generate fake backspace/delete/char keystrokes so that replay
of the insert will insert the exact same text.

Fixes #135
2015-03-15 18:44:11 +00:00
..
.gdbinit update gdbinit 2014-01-27 19:51:58 +00:00
alias_registry.cc replace all std::vector with Vector 2015-01-12 13:58:41 +00:00
alias_registry.hh Rename safe_ptr and ref_ptr to SafePtr and RefPtr 2015-02-19 13:58:25 +00:00
array_view.hh ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
assert.cc exception::what returns a StringView rather than a const char* 2015-03-13 13:15:51 +00:00
assert.hh rename assert to kak_assert to avoid collisions 2013-04-09 20:04:11 +02:00
buffer_manager.cc Avoid calling real_path when not needed in BufferManager::get_buffer_ifp 2015-03-12 19:40:10 +00:00
buffer_manager.hh Rename safe_ptr and ref_ptr to SafePtr and RefPtr 2015-02-19 13:58:25 +00:00
buffer_utils.cc Refactor String, use a common StringOps interface, hide std::string 2015-03-10 19:50:22 +00:00
buffer_utils.hh Respect columns when copying selection, not just bytes 2015-02-25 13:41:00 +00:00
buffer.cc Fix unneeded string copy 2015-03-11 13:58:42 +00:00
buffer.hh ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
buffer.inl.hh ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
client_manager.cc Small refactoring in client_manager.cc 2015-03-14 11:27:01 +00:00
client_manager.hh Cleanup and refactor externally modified buffer reloading 2015-02-12 19:18:03 +00:00
client.cc exception::what returns a StringView rather than a const char* 2015-03-13 13:15:51 +00:00
client.hh Refactor String, use a common StringOps interface, hide std::string 2015-03-10 19:50:22 +00:00
color.cc Refactor color functions 2014-12-27 12:09:28 +00:00
color.hh Do not hash rgb values for non rgb colors 2015-02-10 22:53:37 +00:00
command_manager.cc Change ShellManager to return both stdout and the return value in a pair 2015-03-13 13:39:18 +00:00
command_manager.hh ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
commands.cc Change ParameterParser switch interface, use an Optional<StringView> 2015-03-14 19:16:46 +00:00
commands.hh ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
completion.cc Use StringView for completion functions 2014-04-18 14:02:14 +01:00
completion.hh Track String memory allocations 2015-01-09 13:57:21 +00:00
containers.hh Small cleanup in containers utils 2015-02-27 19:32:27 +00:00
context.cc replace all std::vector with Vector 2015-01-12 13:58:41 +00:00
context.hh Rename safe_ptr and ref_ptr to SafePtr and RefPtr 2015-02-19 13:58:25 +00:00
coord.hh coords/units hashing refactoring 2015-03-11 13:59:25 +00:00
debug.cc Fix write_debug with no debug buffer and multiple lines 2015-01-20 19:57:17 +00:00
debug.hh Cleanup includes 2014-11-12 21:27:07 +00:00
display_buffer.cc Refactor String, use a common StringOps interface, hide std::string 2015-03-10 19:50:22 +00:00
display_buffer.hh Add Display memory domain 2015-01-21 13:35:46 +00:00
env_vars.cc String tweaks 2015-03-11 19:41:44 +00:00
env_vars.hh Even more memory tracking 2015-01-14 19:16:32 +00:00
event_manager.cc Move containers utils to containers.hh and add filtered/transformed utils 2014-12-23 13:40:26 +00:00
event_manager.hh replace all std::vector with Vector 2015-01-12 13:58:41 +00:00
exception.cc exception::what returns a StringView rather than a const char* 2015-03-13 13:15:51 +00:00
exception.hh exception::what returns a StringView rather than a const char* 2015-03-13 13:15:51 +00:00
face_registry.cc Unify completion from container content logic 2014-12-23 13:54:09 +00:00
face_registry.hh Even more memory tracking 2015-01-14 19:16:32 +00:00
face.hh Remove trailing blank lines 2014-12-23 23:00:20 +00:00
file.cc Keep the dir trailing slash in split_path 2015-03-13 13:09:54 +00:00
file.hh Make split_path public 2015-03-12 20:39:34 +00:00
flags.hh Tweak flags implementation 2014-11-04 22:23:27 +00:00
hash.cc Rework hashing, use a more extensible framework similar to n3876 proposal 2014-12-16 18:57:19 +00:00
hash.hh Use parameter pack to that the default hash_value is the worst match 2015-02-07 20:15:22 +00:00
highlighter_group.cc Unify completion from container content logic 2014-12-23 13:54:09 +00:00
highlighter_group.hh Some more memory tracking 2015-01-12 13:32:14 +00:00
highlighter.hh ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
highlighters.cc Change ParameterParser switch interface, use an Optional<StringView> 2015-03-14 19:16:46 +00:00
highlighters.hh sort includes directives 2013-04-09 20:05:40 +02:00
hook_manager.cc Refactor String, use a common StringOps interface, hide std::string 2015-03-10 19:50:22 +00:00
hook_manager.hh Use a IdMap for storing hooks 2015-03-05 14:59:27 +00:00
id_map.hh Refactor String, use a common StringOps interface, hide std::string 2015-03-10 19:50:22 +00:00
input_handler.cc Store fake keystrokes when selecting an insert completion candidate 2015-03-15 18:44:11 +00:00
input_handler.hh ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
insert_completer.cc Store fake keystrokes when selecting an insert completion candidate 2015-03-15 18:44:11 +00:00
insert_completer.hh Store fake keystrokes when selecting an insert completion candidate 2015-03-15 18:44:11 +00:00
keymap_manager.cc ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
keymap_manager.hh ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
keys.cc Refactor String, use a common StringOps interface, hide std::string 2015-03-10 19:50:22 +00:00
keys.hh Orderable Keys 2015-03-07 15:29:21 +00:00
line_modification.cc Fixes in line_modification change, along with style tweak 2015-02-01 22:33:59 +00:00
line_modification.hh Rewrite line modifications, hopefully with easier to comprehend code 2015-01-31 23:50:24 +00:00
main.cc Change ParameterParser switch interface, use an Optional<StringView> 2015-03-14 19:16:46 +00:00
Makefile -rdynamic does not work on gcc 4.9 under cygwin 2015-01-13 13:50:16 +00:00
memory.cc refactor slighly memory domain handling 2015-01-12 19:48:51 +00:00
memory.hh Add history memory domain 2015-01-28 22:33:29 +00:00
ncurses_ui.cc Refactor String, use a common StringOps interface, hide std::string 2015-03-10 19:50:22 +00:00
ncurses_ui.hh ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
normal.cc Change ShellManager to return both stdout and the return value in a pair 2015-03-13 13:39:18 +00:00
normal.hh Use a static array to store the keymap 2015-03-09 13:55:55 +00:00
option_manager.cc Yet more StringView params, less const String& 2014-11-16 20:55:36 +00:00
option_manager.hh Some more memory tracking 2015-01-12 13:32:14 +00:00
option_types.hh Refactor String, use a common StringOps interface, hide std::string 2015-03-10 19:50:22 +00:00
optional.hh Change ParameterParser switch interface, use an Optional<StringView> 2015-03-14 19:16:46 +00:00
parameters_parser.cc Change ParameterParser switch interface, use an Optional<StringView> 2015-03-14 19:16:46 +00:00
parameters_parser.hh Change ParameterParser switch interface, use an Optional<StringView> 2015-03-14 19:16:46 +00:00
ref_ptr.hh Always inline RefPtr::{acquire,release,moved} 2015-02-24 13:43:37 +00:00
regex.cc Refactor String, use a common StringOps interface, hide std::string 2015-03-10 19:50:22 +00:00
regex.hh Refactor String, use a common StringOps interface, hide std::string 2015-03-10 19:50:22 +00:00
register_manager.cc Refactor String, use a common StringOps interface, hide std::string 2015-03-10 19:50:22 +00:00
register_manager.hh Even more memory tracking 2015-01-14 19:16:32 +00:00
register.hh ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
remote.cc ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
remote.hh replace all std::vector with Vector 2015-01-12 13:58:41 +00:00
safe_ptr.cc Make safe_ptr able to track callstacks 2014-08-12 19:18:10 +01:00
safe_ptr.hh Use RefPtr as SafePtr backend 2015-02-23 20:39:56 +00:00
scope.hh Indent fix 2015-02-14 23:28:09 +00:00
selection.cc ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
selection.hh ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
selectors.cc Convert CodepointPair to struct MatchingPair 2015-03-04 20:47:14 +00:00
selectors.hh Convert CodepointPair to struct MatchingPair 2015-03-04 20:47:14 +00:00
shared_string.cc rename SharedString::Storage to StringStorage and use directly in Buffer 2015-01-19 19:31:56 +00:00
shared_string.hh Remove unused StaticString 2015-03-12 09:52:33 +00:00
shell_manager.cc Avoid stdout/stderr as variable names 2015-03-14 01:53:17 +00:00
shell_manager.hh Change ShellManager to return both stdout and the return value in a pair 2015-03-13 13:39:18 +00:00
string.cc Allocate some data in advance in string algorithm 2015-03-14 11:46:53 +00:00
string.hh Fix compilation on clang 2015-03-12 13:04:53 +00:00
unicode.hh Use wide character function for categorizing codepoints 2014-01-05 15:14:58 +00:00
unit_tests.cc Remove unused StaticString 2015-03-12 09:52:33 +00:00
units.hh coords/units hashing refactoring 2015-03-11 13:59:25 +00:00
unordered_map.hh Try to fix travis compilation errors 2015-01-21 13:35:23 +00:00
user_interface.hh ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
utf8_iterator.hh Use Pass as default policy for invalid utf8 avoid asserting on that 2014-10-13 21:07:23 +01:00
utf8.hh Use Pass as default policy for invalid utf8 avoid asserting on that 2014-10-13 21:07:23 +01:00
utils.hh Always inline OnScopeEnd constructor and destructor 2015-03-11 20:52:39 +00:00
value.hh coords/units hashing refactoring 2015-03-11 13:59:25 +00:00
vector.hh Try to fix travis compilation errors 2015-01-21 13:35:23 +00:00
window.cc Use a IdMap for storing hooks 2015-03-05 14:59:27 +00:00
window.hh Use a IdMap for storing hooks 2015-03-05 14:59:27 +00:00
word_db.cc Tweak WordDB implementation 2015-03-10 13:50:25 +00:00
word_db.hh Tweak WordDB implementation 2015-03-10 13:50:25 +00:00