From 38d2856d341358bf9c691157ae0ca2e8960e35df Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 15 Feb 2024 14:17:08 +1100 Subject: Perform validation of undo state when SCI_SETUNDOCURRENT called, setting status when invalid. --- src/Document.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Document.h') diff --git a/src/Document.h b/src/Document.h index 185066a6c..81cb299c0 100644 --- a/src/Document.h +++ b/src/Document.h @@ -409,7 +409,7 @@ public: int UndoActions() const noexcept; void SetUndoSavePoint(int action) noexcept; int UndoSavePoint() const noexcept; - void SetUndoCurrent(int action) noexcept; + void SetUndoCurrent(int action); int UndoCurrent() const noexcept; void SetUndoTentative(int action) noexcept; int UndoTentative() const noexcept; -- cgit v1.2.3