diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-05-14 00:59:36 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-05-14 19:49:04 +0100 |
| commit | bf98b38afd5338f6be617cfaf4bb251eb011e2b0 (patch) | |
| tree | 7832efaa75e4a6da23d57cf2672d60ce59c779d7 /src/dynamic_selection_list.hh | |
| parent | db423e4a88be8799ce0cfae33ddbf4c6bae97e5f (diff) | |
Use a plain SelectionList for Context, remove DynamicSelectionList
Diffstat (limited to 'src/dynamic_selection_list.hh')
| -rw-r--r-- | src/dynamic_selection_list.hh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/dynamic_selection_list.hh b/src/dynamic_selection_list.hh deleted file mode 100644 index 65f37915..00000000 --- a/src/dynamic_selection_list.hh +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef dynamic_selection_list_hh_INCLUDED -#define dynamic_selection_list_hh_INCLUDED - -#include "selection.hh" - -namespace Kakoune -{ - -class DynamicSelectionList : public SelectionList, - public BufferChangeListener_AutoRegister -{ -public: - using iterator = SelectionList::iterator; - using const_iterator = SelectionList::const_iterator; - - DynamicSelectionList(SelectionList selections); - - DynamicSelectionList& operator=(SelectionList selections); - - using SelectionList::buffer; - -private: - void on_insert(const Buffer& buffer, ByteCoord begin, ByteCoord end, bool at_end) override; - void on_erase(const Buffer& buffer, ByteCoord begin, ByteCoord end, bool at_end) override; -}; - -} - -#endif // dynamic_selection_list_hh_INCLUDED - |
