diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-09-19 18:48:47 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-09-19 18:48:47 +1000 |
commit | d12fdd75d1c131bbe4bd49413c3da51131cd1e73 (patch) | |
tree | 90cdd01f7a2c6d9bafccb345314a22d60c5ffa60 /fltk-widgets-groups-text_displays-text_editors.adb | |
parent | a4b14b883f918161d2c235a52730d159b2f9ca7a (diff) |
All File/Edit functions working, just need to add Search/About menu stuff
Diffstat (limited to 'fltk-widgets-groups-text_displays-text_editors.adb')
-rw-r--r-- | fltk-widgets-groups-text_displays-text_editors.adb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/fltk-widgets-groups-text_displays-text_editors.adb b/fltk-widgets-groups-text_displays-text_editors.adb index 7969f27..ce7684c 100644 --- a/fltk-widgets-groups-text_displays-text_editors.adb +++ b/fltk-widgets-groups-text_displays-text_editors.adb @@ -18,6 +18,10 @@ package body FLTK.Widgets.Groups.Text_Displays.Text_Editors is (TE : in System.Address); pragma Import (C, free_fl_text_editor, "free_fl_text_editor"); + procedure fl_text_editor_undo + (TE : in System.Address); + pragma Import (C, fl_text_editor_undo, "fl_text_editor_undo"); + procedure fl_text_editor_cut (TE : in System.Address); pragma Import (C, fl_text_editor_cut, "fl_text_editor_cut"); @@ -73,6 +77,15 @@ package body FLTK.Widgets.Groups.Text_Displays.Text_Editors is + procedure Undo + (This : in out Text_Editor) is + begin + fl_text_editor_undo (This.Void_Ptr); + end Undo; + + + + procedure Cut (This : in out Text_Editor) is begin |