aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/UndoHistory.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/UndoHistory.h')
-rw-r--r--src/UndoHistory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/UndoHistory.h b/src/UndoHistory.h
index ab8c24250..1186a1e0e 100644
--- a/src/UndoHistory.h
+++ b/src/UndoHistory.h
@@ -59,6 +59,7 @@ class ScrapStack {
std::string stack;
size_t current = 0;
public:
+ void Clear() noexcept;
const char *Push(const char *text, size_t length);
void SetCurrent(size_t position) noexcept;
void MoveForward(size_t length) noexcept;