diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2016-07-20 20:29:45 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2016-07-24 21:25:05 +0100 |
| commit | 087a17eb24059da1a98596bb5c8e9064a72776f4 (patch) | |
| tree | 39d252b0bed06ecd9db6e0ac5e704ae7424f948d /src/buffer.hh | |
| parent | 03a4b3c73ff8cf7d37387df8bd0fcf9e895b59e0 (diff) | |
Support for going backward/forward in buffer history with <a-u>/<a-U>
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 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; |
