kakoune/src
Maxime Coste 91606850fd Utils: add on_scope_end utility
on_scope_end permits to register a functor to be called at scope
end (either exception thrown or normal scope end). this is usefull
for cleanup code that must be run.

usage:

auto cleaner = on_scope_end([]() { cleanup(); });
2011-12-20 19:18:00 +00:00
..
assert.cc assert: custom implementation 2011-09-09 19:24:18 +00:00
assert.hh assert: custom implementation 2011-09-09 19:24:18 +00:00
buffer_iterator.inl.hh rename buffer_iterator.inl.h to buffer_iterator.inl.hh 2011-10-27 14:13:39 +00:00
buffer_manager.cc Completion: decentralise, move buffer name completion to BufferManager 2011-11-12 14:06:49 +00:00
buffer_manager.hh Completion: decentralise, move buffer name completion to BufferManager 2011-11-12 14:06:49 +00:00
buffer.cc Filters: move from buffer to window 2011-12-07 14:29:10 +00:00
buffer.hh Filters: move from buffer to window 2011-12-07 14:29:10 +00:00
command_manager.cc CommandManager: fix complete and style tweak 2011-11-26 19:05:49 +00:00
command_manager.hh Add a Context parameter to commands 2011-11-26 18:32:57 +00:00
completion.cc Completion: decentralise, move buffer name completion to BufferManager 2011-11-12 14:06:49 +00:00
completion.hh Completion: decentralise, move buffer name completion to BufferManager 2011-11-12 14:06:49 +00:00
context.hh Add a Context parameter to commands 2011-11-26 18:32:57 +00:00
debug.cc Buffer: replace insert and erase methods with modify 2011-12-07 14:26:40 +00:00
debug.hh Debug: add a write_debug function 2011-10-07 14:16:38 +00:00
display_buffer.cc DisplayBuffer: fix DisplayAtom::iterator_at 2011-11-16 21:03:32 +00:00
display_buffer.hh DisplayBuffer: overload atom_containing with a version taking an iterator to search start 2011-10-23 20:26:30 +00:00
dynamic_buffer_iterator.cc Buffer: rename BufferModification to Modification 2011-12-06 18:58:43 +00:00
dynamic_buffer_iterator.hh Buffer: rename BufferModification to Modification 2011-12-06 18:58:43 +00:00
exception.cc exception: refactoring 2011-09-09 18:40:59 +00:00
exception.hh exception: refactoring 2011-09-09 18:40:59 +00:00
file.cc File: extract read_file function which returns file content in a string 2011-11-27 12:56:38 +00:00
file.hh File: extract read_file function which returns file content in a string 2011-11-27 12:56:38 +00:00
filter_registry.cc Filters: move from buffer to window 2011-12-07 14:29:10 +00:00
filter_registry.hh Filters: move from buffer to window 2011-12-07 14:29:10 +00:00
filter.hh Buffer: rename BufferModification to Modification 2011-12-06 18:58:43 +00:00
filters.cc Filters: add cleanup_whitespace filter 2011-12-20 14:27:01 +00:00
filters.hh Buffer: add filter support 2011-12-02 14:28:27 +00:00
highlighter_registry.cc {Filter,Highlighter}Registry: more infos on factory not found 2011-12-02 19:00:01 +00:00
highlighter_registry.hh HighlighterRegistry: use idvaluemap to store factories 2011-12-02 14:22:51 +00:00
highlighter.hh Rename Filter to Highlighter to be more explicit 2011-11-29 22:37:20 +00:00
highlighters.cc Highlighters: style fix 2011-11-30 14:11:53 +00:00
highlighters.hh Rename Filter to Highlighter to be more explicit 2011-11-29 22:37:20 +00:00
hooks_manager.cc HooksManager: replace HookContext with Context 2011-11-26 18:34:10 +00:00
hooks_manager.hh HooksManager: replace HookContext with Context 2011-11-26 18:34:10 +00:00
idvaluemap.hh better rvalue reference forwarding 2011-12-07 18:57:07 +00:00
kakrc Filters: add cleanup_whitespace filter 2011-12-20 14:27:01 +00:00
line_and_column.hh LineAndColumn: add comparison operators 2011-10-15 04:42:28 +00:00
main.cc Filters: move from buffer to window 2011-12-07 14:29:10 +00:00
Makefile Makefile: add rule for tags 2011-09-08 14:28:42 +00:00
register_manager.hh Basic support for yanking and pasting 2011-09-23 14:31:57 +00:00
selectors.cc Selectors: fix select_line on the last line 2011-12-02 18:56:18 +00:00
selectors.hh Selectors: add split_selection bound to Alt-s 2011-11-21 19:30:44 +00:00
utils.hh Utils: add on_scope_end utility 2011-12-20 19:18:00 +00:00
window.cc better rvalue reference forwarding 2011-12-07 18:57:07 +00:00
window.hh Filters: move from buffer to window 2011-12-07 14:29:10 +00:00