diff options
Diffstat (limited to 'src/buffer.hh')
| -rw-r--r-- | src/buffer.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.hh b/src/buffer.hh index 41b29b77..d677647a 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -142,6 +142,7 @@ public: bool redo(size_t count = 1) noexcept; bool move_to(size_t history_id) noexcept; size_t current_history_id() const noexcept; + size_t next_history_id() const noexcept { return m_next_history_id; } String string(BufferCoord begin, BufferCoord end) const; StringView substr(BufferCoord begin, BufferCoord end) const; |
