From 277b02eee6cb0037d2ecce46d1f2a455dfb0b001 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 11 Dec 2013 21:38:43 +0000 Subject: Add experimental region_ref highlighter highlights a region using another highlighter. --- src/display_buffer.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/display_buffer.hh') diff --git a/src/display_buffer.hh b/src/display_buffer.hh index 320019d6..92896ee9 100644 --- a/src/display_buffer.hh +++ b/src/display_buffer.hh @@ -122,6 +122,7 @@ class DisplayLine public: using iterator = AtomList::iterator; using const_iterator = AtomList::const_iterator; + using value_type = AtomList::value_type; DisplayLine() = default; DisplayLine(AtomList atoms); @@ -143,6 +144,7 @@ public: iterator split(iterator it, BufferCoord pos); iterator insert(iterator it, DisplayAtom atom); + iterator erase(iterator beg, iterator end); void push_back(DisplayAtom atom); // remove first_char from the begining of the line, and make sure -- cgit v1.2.3