From 7f87c847ba8ec976c6ad345942f9867658a89ab2 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 10 Feb 2023 17:13:20 +0100 Subject: Unlimited undo/redo for Fl_Input_ and Fl_Text_Buffer (#558) (#676) --- FL/Fl_Text_Editor.H | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FL/Fl_Text_Editor.H') diff --git a/FL/Fl_Text_Editor.H b/FL/Fl_Text_Editor.H index 5bf49781e..16af25451 100644 --- a/FL/Fl_Text_Editor.H +++ b/FL/Fl_Text_Editor.H @@ -1,7 +1,7 @@ // // Header file for Fl_Text_Editor class. // -// Copyright 2001-2010 by Bill Spitzak and others. +// Copyright 2001-2023 by Bill Spitzak and others. // Original code Copyright Mark Edel. Permission to distribute under // the LGPL for the FLTK library granted by Mark Edel. // @@ -110,6 +110,7 @@ class FL_EXPORT Fl_Text_Editor : public Fl_Text_Display { static int kf_paste(int c, Fl_Text_Editor* e); static int kf_select_all(int c, Fl_Text_Editor* e); static int kf_undo(int c, Fl_Text_Editor* e); + static int kf_redo(int c, Fl_Text_Editor* e); protected: int handle_key(); -- cgit v1.2.3