summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Input_.H6
1 files changed, 6 insertions, 0 deletions
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();