summaryrefslogtreecommitdiff
path: root/src/selection.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-10-08 14:26:57 +0200
committerMaxime Coste <frrrwww@gmail.com>2012-10-08 14:26:57 +0200
commit5a267ab627f52e25e2ae59ab2c19aaa625914b90 (patch)
tree6e20cfcf88a7e04096cfd4b7a4c187109ccaa8c9 /src/selection.hh
parentf2e98f700e405a0cb17be9a6b73daed15f50a165 (diff)
selections should always point to an utf8 character sequence start byte
Diffstat (limited to 'src/selection.hh')
-rw-r--r--src/selection.hh2
1 files changed, 2 insertions, 0 deletions
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;