summaryrefslogtreecommitdiff
path: root/src/selection.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-08-15 18:20:02 +0200
committerMaxime Coste <frrrwww@gmail.com>2012-08-15 18:20:02 +0200
commita2aefa299874437a87e3ff0aec8f71d7a490408a (patch)
tree5fb08bdeb86c04f145ba4ee615a4a0c8d64bbe73 /src/selection.hh
parent416785f53c1af30b7c4fbc1a9a22df046b90f009 (diff)
avoid keeping end of lines selected in Editor::erase
Diffstat (limited to 'src/selection.hh')
-rw-r--r--src/selection.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/selection.hh b/src/selection.hh
index 29a008a2..7081e427 100644
--- a/src/selection.hh
+++ b/src/selection.hh
@@ -29,6 +29,7 @@ struct Selection : public BufferChangeListener
const BufferIterator& last() const { return m_last; }
void merge_with(const Selection& selection);
+ void avoid_eol();
void on_insert(const BufferIterator& begin, const BufferIterator& end);
void on_erase(const BufferIterator& begin, const BufferIterator& end);