diff options
Diffstat (limited to 'src/display_buffer.hh')
| -rw-r--r-- | src/display_buffer.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/display_buffer.hh b/src/display_buffer.hh index 35381058..8e543284 100644 --- a/src/display_buffer.hh +++ b/src/display_buffer.hh @@ -117,9 +117,14 @@ public: CharCount length() const; const BufferRange& range() const { return m_range; } - // Split atom pointed by it at pos, returns an iterator to the first atom + // Split atom pointed by it at buffer coord pos, + // returns an iterator to the first atom iterator split(iterator it, ByteCoord pos); + // Split atom pointed by it at its pos character, + // returns an iterator to the first atom + iterator split(iterator it, CharCount pos); + iterator insert(iterator it, DisplayAtom atom); iterator erase(iterator beg, iterator end); void push_back(DisplayAtom atom); |
