diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-09-23 13:18:58 +0900 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-09-23 13:18:58 +0900 |
| commit | 626ccc09cce8cffa23bf153689a01a2f9216755b (patch) | |
| tree | 64dfe5c95241dc3728e33448e77039b4a3403e6e /src/buffer.hh | |
| parent | 3a5bb051a81887961b7e06d39db44c98da1a256c (diff) | |
| parent | b46c9ac630d65fe4791d410b752624018359251b (diff) | |
Merge remote-tracking branch 'Delapouite/next-history-id'
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; |
