From 087a17eb24059da1a98596bb5c8e9064a72776f4 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 20 Jul 2016 20:29:45 +0100 Subject: Support for going backward/forward in buffer history with / --- src/buffer.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'src/buffer.hh') diff --git a/src/buffer.hh b/src/buffer.hh index 4cd99c8d..845d04b1 100644 --- a/src/buffer.hh +++ b/src/buffer.hh @@ -135,6 +135,7 @@ public: bool undo(size_t count = 1) noexcept; bool redo(size_t count = 1) noexcept; bool move_to(size_t history_id) noexcept; + size_t current_history_id() const noexcept; String string(ByteCoord begin, ByteCoord end) const; -- cgit v1.2.3