kakoune/src
Maxime Coste 8e170e4385 optimize merge_overlappings
assume selections are sorted, so we have a linear complexity algorithm
instead of O(n²).
2012-12-13 18:50:27 +01:00
..
rc ctags.kak: avoid brackets in search pattern 2012-12-13 18:50:27 +01:00
.gdbinit gdb: do not catch throw, but break when constructing an assert_failed exception 2012-04-03 13:42:20 +00:00
assert.cc assert: throw if launching xmessage fails 2012-10-19 03:53:10 +02:00
assert.hh assert: simplify header 2012-10-17 17:01:08 +02:00
buffer_iterator.inl.hh perf tweak in BufferIterator 2012-12-13 18:50:27 +01:00
buffer_manager.cc use ByteCount instead of CharCount when we are really counting bytes 2012-10-11 00:41:48 +02:00
buffer_manager.hh use ByteCount instead of CharCount when we are really counting bytes 2012-10-11 00:41:48 +02:00
buffer.cc fix buffer creation on empty file 2012-11-27 13:39:35 +01:00
buffer.hh Buffer takes a vector of lines as initial content 2012-11-23 18:42:07 +01:00
client_manager.cc ClientManager: support naming clients and accessing client's context by name 2012-12-03 18:56:53 +01:00
client_manager.hh ClientManager: support naming clients and accessing client's context by name 2012-12-03 18:56:53 +01:00
color_registry.cc Makefile: add -Wall to CXXFLAGS 2012-10-11 01:17:29 +02:00
color_registry.hh ColorRegistry: permit overriding an alias 2012-09-17 21:01:11 +02:00
color.hh use Colors and Attributes are char 2012-10-23 22:53:56 +02:00
command_manager.cc code style cleanup in CommandManager 2012-11-22 14:28:14 +01:00
command_manager.hh code style cleanup in CommandManager 2012-11-22 14:28:14 +01:00
commands.cc Support nested {Filters,Highlighter}Group 2012-12-09 18:58:58 +01:00
commands.hh move commands to commands.{cc,hh} 2012-05-07 03:13:34 +00:00
completion.cc File completion: when no files match entered text as prefix, try as regex 2012-12-13 18:50:27 +01:00
completion.hh use ByteCount instead of CharCount when we are really counting bytes 2012-10-11 00:41:48 +02:00
context.hh move selection updating code out of selection, to DynamicSelectionList 2012-12-13 18:50:27 +01:00
debug.cc Buffer: replace reset_undo_data with a NoUndo flag 2012-11-21 13:43:10 +01:00
debug.hh replace std::string references with String 2012-04-14 01:17:09 +00:00
display_buffer.cc merge contiguous DisplayAtoms after highlighting DisplayBuffer 2012-10-22 13:20:02 +02:00
display_buffer.hh Add some remote client support protocol code 2012-10-23 22:55:44 +02:00
dynamic_selection_list.cc DynamicSelectionList: derive from SelectionList 2012-12-13 18:50:27 +01:00
dynamic_selection_list.hh DynamicSelectionList: derive from SelectionList 2012-12-13 18:50:27 +01:00
editor.cc optimize merge_overlappings 2012-12-13 18:50:27 +01:00
editor.hh move selection updating code out of selection, to DynamicSelectionList 2012-12-13 18:50:27 +01:00
event_manager.cc EventManager: fix forced event processing 2012-12-03 18:49:09 +01:00
event_manager.hh EventManager: fix forced event processing 2012-12-03 18:49:09 +01:00
exception.cc replace std::string references with String 2012-04-14 01:17:09 +00:00
exception.hh add override markers 2012-09-04 00:17:41 +02:00
file.cc fail nicely when trying to open a directory 2012-12-05 13:59:08 +01:00
file.hh replace std::string references with String 2012-04-14 01:17:09 +00:00
filter_group.cc Pass the selection instead of only point of insertion to filters 2012-11-19 13:40:23 +01:00
filter_group.hh Pass the selection instead of only point of insertion to filters 2012-11-19 13:40:23 +01:00
filter.hh filter: minor code cleanup 2012-11-23 18:35:05 +01:00
filters.cc filter: minor code cleanup 2012-11-23 18:35:05 +01:00
filters.hh Refactor filter and highlighter registry into a common template 2012-11-23 13:40:20 +01:00
function_registry.hh Refactor filter and highlighter registry into a common template 2012-11-23 13:40:20 +01:00
highlighter_group.cc use ByteCount instead of CharCount when we are really counting bytes 2012-10-11 00:41:48 +02:00
highlighter_group.hh use ByteCount instead of CharCount when we are really counting bytes 2012-10-11 00:41:48 +02:00
highlighter.hh Refactor filter and highlighter registry into a common template 2012-11-23 13:40:20 +01:00
highlighters.cc minor refactoring in highlight_range 2012-12-13 18:50:27 +01:00
highlighters.hh Refactor filter and highlighter registry into a common template 2012-11-23 13:40:20 +01:00
hook_manager.cc HookManager are now hierarchical from window to buffer to global 2012-06-07 13:29:44 +00:00
hook_manager.hh rename (hook|option)_manager to (hook|option)s. 2012-11-22 13:50:29 +01:00
idvaluemap.hh use ByteCount instead of CharCount when we are really counting bytes 2012-10-11 00:41:48 +02:00
input_handler.cc Prompt: when completion has only one candidate, next tab starts a new completion 2012-12-13 18:49:29 +01:00
input_handler.hh PromptHandler now call callback when edited and aborted. 2012-12-06 13:33:26 +01:00
kakrc source user kakrc after autoloads, so that user can override options 2012-12-07 19:19:45 +01:00
keys.cc use ByteCount instead of CharCount when we are really counting bytes 2012-10-11 00:41:48 +02:00
keys.hh avoid utf8 errors with invalid keys, like ncurse KEY_RESIZE 2012-10-18 19:56:57 +02:00
line_and_column.hh use ByteCount instead of CharCount when we are really counting bytes 2012-10-11 00:41:48 +02:00
main.cc change replace char behaviour, now replace each selected chars 2012-12-13 18:50:27 +01:00
Makefile Makefile: add a userconfig target 2012-12-13 18:49:29 +01:00
memoryview.hh memoryview: include cstddef for size_t 2012-10-20 16:40:12 +02:00
ncurses.cc ncurses.cc: handle ascii del as backspace 2012-12-09 14:31:19 +01:00
ncurses.hh NCurses: refactor status line handling, and disambiguate status line from mode line 2012-10-29 19:01:57 +01:00
option_manager.cc the shell used for command execution can be changed using the 'shell' option 2012-12-13 18:49:29 +01:00
option_manager.hh rename (hook|option)_manager to (hook|option)s. 2012-11-22 13:50:29 +01:00
parameters_parser.cc extract ParametersParser to it's own file 2012-12-07 19:20:26 +01:00
parameters_parser.hh extract ParametersParser to it's own file 2012-12-07 19:20:26 +01:00
register_manager.cc add override markers 2012-09-04 00:17:41 +02:00
register_manager.hh Registers need a context to return their values 2012-08-05 20:13:41 +02:00
register.hh Registers need a context to return their values 2012-08-05 20:13:41 +02:00
remote.cc remote.cc: move write function as member of Message 2012-12-13 18:49:29 +01:00
remote.hh add some debug output to RemoteUI 2012-11-19 19:06:32 +01:00
selection.cc move selection updating code out of selection, to DynamicSelectionList 2012-12-13 18:50:27 +01:00
selection.hh move selection updating code out of selection, to DynamicSelectionList 2012-12-13 18:50:27 +01:00
selectors.cc Selection: refactoring, move CaptureList to Selection 2012-11-30 18:32:49 +01:00
selectors.hh Selection: refactoring, move CaptureList to Selection 2012-11-30 18:32:49 +01:00
shell_manager.cc the shell used for command execution can be changed using the 'shell' option 2012-12-13 18:49:29 +01:00
shell_manager.hh Add support for shell script parameters 2012-09-09 17:10:53 +02:00
string.cc String and BufferIterator value_type goes back to plain char 2012-10-01 20:20:08 +02:00
string.hh small code tweak 2012-11-23 18:48:04 +01:00
unicode.hh add a unicode.hh header for Codepoint related functions, s/utf8::Codepoint/Codepoint/ 2012-10-09 19:15:05 +02:00
unit_tests.cc add an empty buffer unit test 2012-11-28 20:10:49 +01:00
units.hh Add a ByteCount unit 2012-10-11 00:13:31 +02:00
user_interface.hh NCurses: refactor status line handling, and disambiguate status line from mode line 2012-10-29 19:01:57 +01:00
utf8_iterator.hh utf8: use CharCount instead of size_t 2012-10-27 13:26:40 +02:00
utf8.hh utf8: use CharCount instead of size_t 2012-10-27 13:26:40 +02:00
utils.hh ClientManager: support naming clients and accessing client's context by name 2012-12-03 18:56:53 +01:00
window.cc move selection updating code out of selection, to DynamicSelectionList 2012-12-13 18:50:27 +01:00
window.hh move Window ownership to the ClientManager instead of the Buffer 2012-11-22 14:08:55 +01:00