From 87fe29372cf8623a003b39dea755f3d290916601 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 26 Nov 2022 20:28:12 +0100 Subject: Local undo per Fl_Text_Buffer and Fl_Input_ (#557) --- FL/Fl_Text_Buffer.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'FL/Fl_Text_Buffer.H') diff --git a/FL/Fl_Text_Buffer.H b/FL/Fl_Text_Buffer.H index a1d044f48..727b2a65d 100644 --- a/FL/Fl_Text_Buffer.H +++ b/FL/Fl_Text_Buffer.H @@ -60,6 +60,7 @@ #include "Fl_Export.H" +class Fl_Text_Undo_Action; /** \class Fl_Text_Selection @@ -836,6 +837,7 @@ protected: int mPreferredGapSize; /**< the default allocation for the text gap is 1024 bytes and should only be increased if frequent and large changes in buffer size are expected */ + Fl_Text_Undo_Action* mUndo; /**< local undo event */ }; #endif -- cgit v1.2.3