summaryrefslogtreecommitdiff
path: root/FL/Fl_Text_Editor.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2002-11-05 19:53:50 +0000
committerMatthias Melcher <fltk@matthiasm.com>2002-11-05 19:53:50 +0000
commit3473297741ac6224b9c461aba98b73b3217b808f (patch)
tree27eb7285c2d1b4b6fe321d68813a4e1b060887f1 /FL/Fl_Text_Editor.H
parent66dabdb8f53231eff304cbb944cd900ddbce00af (diff)
Added 'Undo' to Fl_Text_Editor by reusing some of the Fl_Input_ code. I tried many cases and it seems to work fine.
Matthias git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Text_Editor.H')
-rw-r--r--FL/Fl_Text_Editor.H5
1 files changed, 3 insertions, 2 deletions
diff --git a/FL/Fl_Text_Editor.H b/FL/Fl_Text_Editor.H
index d436e73c8..f146d61f5 100644
--- a/FL/Fl_Text_Editor.H
+++ b/FL/Fl_Text_Editor.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Text_Editor.H,v 1.1.2.5 2002/11/05 06:45:40 matthiaswm Exp $"
+// "$Id: Fl_Text_Editor.H,v 1.1.2.6 2002/11/05 19:53:50 matthiaswm Exp $"
//
// Header file for Fl_Text_Editor class.
//
@@ -88,6 +88,7 @@ class FL_EXPORT Fl_Text_Editor : public Fl_Text_Display {
static int kf_cut(int c, Fl_Text_Editor* e);
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);
protected:
int handle_key();
@@ -102,6 +103,6 @@ class FL_EXPORT Fl_Text_Editor : public Fl_Text_Display {
#endif
//
-// End of "$Id: Fl_Text_Editor.H,v 1.1.2.5 2002/11/05 06:45:40 matthiaswm Exp $".
+// End of "$Id: Fl_Text_Editor.H,v 1.1.2.6 2002/11/05 19:53:50 matthiaswm Exp $".
//