From afd3fde5de41cd5c10e0953e25976912cf4cf25f Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 14 Apr 2023 16:32:23 +0200 Subject: Memory leak in Input_ #716 --- FL/Fl_Input_.H | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'FL') diff --git a/FL/Fl_Input_.H b/FL/Fl_Input_.H index a7062f5a0..6eacc27ae 100644 --- a/FL/Fl_Input_.H +++ b/FL/Fl_Input_.H @@ -384,9 +384,15 @@ public: /* Undo previous changes to the text buffer. */ int undo(); + /* Return true if the last operation can be undone. */ + bool can_undo(); + /* Redo previous undo operations. */ int redo(); + /* Return true if there is a redo action in the list. */ + bool can_redo(); + /* Copy the yank buffer to the clipboard. */ int copy_cuts(); -- cgit v1.2.3