diff options
Diffstat (limited to 'src/buffer.hh')
| -rw-r--r-- | src/buffer.hh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/buffer.hh b/src/buffer.hh index 28f550a2..f29ca77f 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -58,15 +58,14 @@ public: BufferIterator operator++ (int); BufferIterator operator-- (int); + BufferIterator& operator=(const BufferCoord& coord); + void clamp(bool avoid_eol); bool is_begin() const; bool is_end() const; bool is_valid() const; - void on_insert(const BufferCoord& begin, const BufferCoord& end); - void on_erase(const BufferCoord& begin, const BufferCoord& end); - const Buffer& buffer() const; const BufferCoord& coord() const { return m_coord; } LineCount line() const { return m_coord.line; } |
