kakoune/src
Maxime Coste 8795a56731 Merge overlapping selections before erasing
Overlapping selections on erase confuse the ForwardChangeTracker
and will confuse the user,

Fixes #298
2015-06-28 10:16:39 +01: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 Fix include 2015-06-24 13:40:18 +01:00
assert.cc Move write_debug to buffer utils as write_to_debug_buffer 2015-06-06 11:54:48 +01:00
assert.hh Extract xmessage/MessageBox support in a notify_fatal_error function 2015-05-29 13:35:09 +01:00
backtrace.cc Resolve symbol names in Cygwin Backtrace::desc implementation 2015-06-16 18:49:56 +01:00
backtrace.hh Return a String in Backtrace::desc 2015-05-29 13:35:54 +01:00
buffer_manager.cc Port more code to use the format function instead of adhoc string concat 2015-06-01 19:06:35 +01:00
buffer_manager.hh Fix :open bug that could set a deleted buffer as the last used one 2015-04-23 20:15:17 +01:00
buffer_utils.cc Move write_debug to buffer utils as write_to_debug_buffer 2015-06-06 11:54:48 +01:00
buffer_utils.hh Move write_debug to buffer utils as write_to_debug_buffer 2015-06-06 11:54:48 +01:00
buffer.cc Workaround incomplete c++11 stdlib in gcc 4.8 2015-05-26 19:05:11 +01:00
buffer.hh Minor reorganisation in buffer.hh 2015-06-25 13:36:23 +01:00
buffer.inl.hh Style tweak 2015-06-24 13:44:47 +01:00
client_manager.cc Rework window redraw handling, should redraw window less often 2015-06-21 19:56:23 +01:00
client_manager.hh Get rid of the mode trash, delete mode directly when leaving on_key 2015-06-03 20:03:06 +01:00
client.cc Always redraw status when redrawing the main window 2015-06-24 13:35:46 +01:00
client.hh Refactor String, use a common StringOps interface, hide std::string 2015-03-10 19:50:22 +00:00
color.cc Move Colors enum class as NamedColor enum inside Color struct 2015-04-25 10:47:39 +01:00
color.hh Move Colors enum class as NamedColor enum inside Color struct 2015-04-25 10:47:39 +01:00
command_manager.cc Add support for command completion on commands, use it for :new 2015-06-26 13:57:23 +01:00
command_manager.hh Add support for command completion on commands, use it for :new 2015-06-26 13:57:23 +01:00
commands.cc Add support for command completion on commands, use it for :new 2015-06-26 13:57:23 +01:00
commands.hh ArrayView content is not const anymore 2015-03-09 13:54:09 +00:00
completion.cc Remove is_blank, which is identical to is_horizontal_blank 2015-04-15 00:34:00 +01:00
completion.hh Try matching functions one by one when completing 2015-05-26 18:38:48 +01:00
containers.hh Retreat ! go back to C++11 only code 2015-05-26 18:42:09 +01:00
context.cc Make empty context construction more explicit 2015-04-19 18:47:52 +01:00
context.hh Make empty context construction more explicit 2015-04-19 18:47:52 +01:00
coord.hh coords/units hashing refactoring 2015-03-11 13:59:25 +00:00
diff.hh Add headers guard to diff.hh along with a comment about the algorithm 2015-05-19 19:46:24 +01:00
display_buffer.cc Use a struct for BufferRange rather than std::pair 2015-04-23 21:38:45 +01:00
display_buffer.hh Move status/mode line drawing as a separate ui method 2015-06-17 21:28:02 +01: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 Fix race condition ShellManager::eval with SIGCHLD 2015-06-09 20:28:24 +01:00
event_manager.hh Fix race condition ShellManager::eval with SIGCHLD 2015-06-09 20:28:24 +01:00
exception.cc exception::what returns a StringView rather than a const char* 2015-03-13 13:15:51 +00:00
exception.hh Remove unneeded c_str() call 2015-03-25 13:42:36 +00:00
face_registry.cc Add support for Default face 2015-06-04 13:49:28 +01:00
face_registry.hh Even more memory tracking 2015-01-14 19:16:32 +00:00
face.hh Move Colors enum class as NamedColor enum inside Color struct 2015-04-25 10:47:39 +01:00
file.cc Move write_debug to buffer utils as write_to_debug_buffer 2015-06-06 11:54:48 +01:00
file.hh Small formatting fix 2015-06-15 23:00:37 +01:00
flags.hh Retreat ! go back to C++11 only code 2015-05-26 18:42:09 +01:00
hash.cc Rework hashing, use a more extensible framework similar to n3876 proposal 2014-12-16 18:57:19 +00:00
hash.hh Add a combine_hash helper function 2015-06-20 15:04:31 +01:00
highlighter_group.cc Port even more code to use format function 2015-06-01 21:15:59 +01:00
highlighter_group.hh Add missing 'override' specifiers 2015-05-25 13:54:18 +01:00
highlighter.hh Remove redundant forward declaration 2015-06-01 18:33:08 +01:00
highlighters.cc Add support for hex formatting 2015-06-22 13:56:00 +01:00
highlighters.hh sort includes directives 2013-04-09 20:05:40 +02:00
hook_manager.cc Move write_debug to buffer utils as write_to_debug_buffer 2015-06-06 11:54:48 +01:00
hook_manager.hh Remove unneeded include 2015-03-17 20:06:35 +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 Add <a-;> in insert mode to execute a single normal mode command 2015-06-12 13:56:11 +01:00
input_handler.hh Get rid of the mode trash, delete mode directly when leaving on_key 2015-06-03 20:03:06 +01:00
insert_completer.cc Move write_debug to buffer utils as write_to_debug_buffer 2015-06-06 11:54:48 +01: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 Use char for KeyMapMode enum 2015-04-11 17:22:37 +01:00
keys.cc Move unit test functions in next to the code they are testing 2015-05-22 13:58:56 +01:00
keys.hh Handle mouse events in key_to_str 2015-03-28 18:18:52 +00:00
line_modification.cc Move unit test functions in next to the code they are testing 2015-05-22 13:58:56 +01:00
line_modification.hh Rewrite line modifications, hopefully with easier to comprehend code 2015-01-31 23:50:24 +00:00
main.cc Initial selection saving/restoring support bound to ^ and alt-^ 2015-06-27 11:02:08 +01:00
Makefile Use a relative symlink for autoload 2015-06-27 16:12:04 +01: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 Improve ncurses redraw behaviour 2015-06-21 19:51:14 +01:00
ncurses_ui.hh Improve ncurses redraw behaviour 2015-06-21 19:51:14 +01:00
normal.cc Initial selection saving/restoring support bound to ^ and alt-^ 2015-06-27 11:02:08 +01:00
normal.hh Use a static array to store the keymap 2015-03-09 13:55:55 +00:00
option_manager.cc Move option_not_found exception to the cpp file 2015-04-26 20:40:32 +01:00
option_manager.hh Port even more code to use format function 2015-06-01 21:15:59 +01:00
option_types.hh Port even more code to use format function 2015-06-01 21:15:59 +01:00
optional.hh Avoid unneeded default constructor call in Optional 2015-06-25 13:36:45 +01:00
parameters_parser.cc Change ParameterParser switch interface, use an Optional<StringView> 2015-03-14 19:16:46 +00:00
parameters_parser.hh Port even more code to use format function 2015-06-01 21:15:59 +01:00
ref_ptr.hh Always inline RefPtr::{acquire,release,moved} 2015-02-24 13:43:37 +00:00
regex.cc Port more code to use the format function instead of adhoc string concat 2015-06-01 19:06:35 +01:00
regex.hh Fix formatting 2015-04-29 13:45:53 +01:00
register_manager.cc Port even more code to use format function 2015-06-01 21:15:59 +01:00
register_manager.hh Move Register to register_manager.hh 2015-04-23 21:51:48 +01:00
remote.cc Move status/mode line drawing as a separate ui method 2015-06-17 21:28:02 +01:00
remote.hh Port even more code to use format function 2015-06-01 21:15:59 +01:00
safe_ptr.hh Style tweak 2015-06-10 22:42:07 +01:00
scope.hh small code formatting fix 2015-04-09 16:28:13 +01:00
selection.cc Merge overlapping selections before erasing 2015-06-28 10:16:39 +01:00
selection.hh Initial selection saving/restoring support bound to ^ and alt-^ 2015-06-27 11:02:08 +01:00
selectors.cc Change gl/gh to only move cursor, not selecting (<a-h>/<a-l>) are unchanged 2015-06-08 13:51:06 +01:00
selectors.hh Change gl/gh to only move cursor, not selecting (<a-h>/<a-l>) are unchanged 2015-06-08 13:51:06 +01:00
shared_string.cc Move write_debug to buffer utils as write_to_debug_buffer 2015-06-06 11:54:48 +01:00
shared_string.hh Keep hash stored in StringData 2015-05-14 19:13:52 +01:00
shell_manager.cc Fix race condition ShellManager::eval with SIGCHLD 2015-06-09 20:28:24 +01:00
shell_manager.hh Do not close stderr/stdout before program finish 2015-06-08 22:42:51 +01:00
string.cc Add support for hex formatting 2015-06-22 13:56:00 +01:00
string.hh Add support for hex formatting 2015-06-22 13:56:00 +01:00
unicode.hh Use char32_t for Codepoint 2015-04-29 13:51:15 +01:00
unit_tests.cc Small refactor in unit tests 2015-05-24 22:34:05 +01:00
unit_tests.hh Small refactor in unit tests 2015-05-24 22:34:05 +01:00
units.hh Use friend functions rather than methods for StronglyTypedNumber binary ops 2015-05-13 23:22:48 +01:00
unordered_map.hh Fix UnorderedSet allocator 2015-04-16 23:46:26 +01:00
user_interface.hh Move status/mode line drawing as a separate ui method 2015-06-17 21:28:02 +01:00
utf8_iterator.hh Make utf8_iterator a proper stl useable iterator 2015-03-27 13:19:30 +00: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 Retreat ! go back to C++11 only code 2015-05-26 18:42:09 +01:00
value.hh Make sure we do not put a Value in a Value 2015-06-25 19:45:42 +01:00
vector.hh Try to fix travis compilation errors 2015-01-21 13:35:23 +00:00
window.cc Refactor slightly window redrawing 2015-06-22 13:34:22 +01:00
window.hh Refactor slightly window redrawing 2015-06-22 13:34:22 +01:00
word_db.cc Move unit test functions in next to the code they are testing 2015-05-22 13:58:56 +01:00
word_db.hh Tweak WordDB implementation 2015-03-10 13:50:25 +00:00