aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2024-02-15 14:17:08 +1100
committerNeil <nyamatongwe@gmail.com>2024-02-15 14:17:08 +1100
commit38d2856d341358bf9c691157ae0ca2e8960e35df (patch)
treea1a187630421e954b65181bb2d2fb4a58d2549ff /src/CellBuffer.h
parenta6a2fe933e0103464c1a357f987ad10e3bcf6622 (diff)
downloadscintilla-mirror-38d2856d341358bf9c691157ae0ca2e8960e35df.tar.gz
Perform validation of undo state when SCI_SETUNDOCURRENT called, setting status
when invalid.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r--src/CellBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h
index 5422e92aa..916937845 100644
--- a/src/CellBuffer.h
+++ b/src/CellBuffer.h
@@ -183,7 +183,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;