diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-05-12 13:59:21 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-05-13 19:01:27 +0100 |
| commit | 67a251ffd560d79e8337fef0aee8d8285d34355e (patch) | |
| tree | 852a301689b7612f958cda7728004b59aa47e335 /src/selection.hh | |
| parent | ddd8f8d392ae059298ffa6175165f6e224a009f9 (diff) | |
Pass a at_end param to BufferChangeListener::on_{insert,erase}
Diffstat (limited to 'src/selection.hh')
| -rw-r--r-- | src/selection.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selection.hh b/src/selection.hh index 61e1cc54..016ce5f5 100644 --- a/src/selection.hh +++ b/src/selection.hh @@ -61,8 +61,8 @@ struct SelectionList SelectionList(ByteCoord c) : m_selections{Selection{c,c}} {} SelectionList(Selection s) : m_selections{s} {} - void update_insert(const Buffer& buffer, ByteCoord begin, ByteCoord end); - void update_erase(const Buffer& buffer, ByteCoord begin, ByteCoord end); + void update_insert(ByteCoord begin, ByteCoord end, bool at_end); + void update_erase(ByteCoord begin, ByteCoord end, bool at_end); void check_invariant() const; |
