summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-05-12 13:59:21 +0100
committerMaxime Coste <frrrwww@gmail.com>2014-05-13 19:01:27 +0100
commit67a251ffd560d79e8337fef0aee8d8285d34355e (patch)
tree852a301689b7612f958cda7728004b59aa47e335 /src/buffer.hh
parentddd8f8d392ae059298ffa6175165f6e224a009f9 (diff)
Pass a at_end param to BufferChangeListener::on_{insert,erase}
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index 89684ce5..f817eef0 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -67,9 +67,9 @@ class BufferChangeListener
{
public:
virtual void on_insert(const Buffer& buffer,
- ByteCoord begin, ByteCoord end) = 0;
+ ByteCoord begin, ByteCoord end, bool at_end) = 0;
virtual void on_erase(const Buffer& buffer,
- ByteCoord begin, ByteCoord end) = 0;
+ ByteCoord begin, ByteCoord end, bool at_end) = 0;
};
// A Buffer is a in-memory representation of a file