diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-03-15 14:22:42 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-03-15 14:22:42 +0100 |
| commit | 5e88b7fe283e66c3afebc4f287fbea72be41374e (patch) | |
| tree | acb1bac6230defeb065306784e86529add48ebc6 /src/buffer.hh | |
| parent | 0c4addb40cfdbdc1590b5311eda82bbc607f1030 (diff) | |
move BufferIterator on_{insert,erase} as DynamicSelectionList implementation detail
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; } |
