From 5a267ab627f52e25e2ae59ab2c19aaa625914b90 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 8 Oct 2012 14:26:57 +0200 Subject: selections should always point to an utf8 character sequence start byte --- src/selection.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/selection.hh') diff --git a/src/selection.hh b/src/selection.hh index 89af8312..38eb6fd1 100644 --- a/src/selection.hh +++ b/src/selection.hh @@ -37,6 +37,8 @@ private: void on_erase(const BufferIterator& begin, const BufferIterator& end) override; + void check_invariant() const; + BufferIterator m_first; BufferIterator m_last; -- cgit v1.2.3