summaryrefslogtreecommitdiff
path: root/src/buffer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.hh')
-rw-r--r--src/buffer.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.hh b/src/buffer.hh
index be510a79..4cd99c8d 100644
--- a/src/buffer.hh
+++ b/src/buffer.hh
@@ -132,8 +132,8 @@ public:
void set_fs_timestamp(timespec ts);
void commit_undo_group();
- bool undo() noexcept;
- bool redo() noexcept;
+ bool undo(size_t count = 1) noexcept;
+ bool redo(size_t count = 1) noexcept;
bool move_to(size_t history_id) noexcept;
String string(ByteCoord begin, ByteCoord end) const;