From 67a251ffd560d79e8337fef0aee8d8285d34355e Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 12 May 2014 13:59:21 +0100 Subject: Pass a at_end param to BufferChangeListener::on_{insert,erase} --- src/buffer.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/buffer.hh') 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 -- cgit v1.2.3