From b709843ae66a4348746d6a54114c99dd00ebdb74 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 19 Sep 2016 18:48:47 +1000 Subject: All File/Edit functions working, just need to add Search/About menu stuff --- src/fltk_binding/c_fl_text_editor.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src/fltk_binding/c_fl_text_editor.cpp') diff --git a/src/fltk_binding/c_fl_text_editor.cpp b/src/fltk_binding/c_fl_text_editor.cpp index 6754695..1290e7b 100644 --- a/src/fltk_binding/c_fl_text_editor.cpp +++ b/src/fltk_binding/c_fl_text_editor.cpp @@ -17,22 +17,27 @@ void free_fl_text_editor(TEXTEDITOR te) { -void fl_text_editor_cut (TEXTEDITOR te) { +void fl_text_editor_undo(TEXTEDITOR te) { + Fl_Text_Editor::kf_undo(0, reinterpret_cast(te)); +} + + +void fl_text_editor_cut(TEXTEDITOR te) { Fl_Text_Editor::kf_cut(0, reinterpret_cast(te)); } -void fl_text_editor_copy (TEXTEDITOR te) { +void fl_text_editor_copy(TEXTEDITOR te) { Fl_Text_Editor::kf_copy(0, reinterpret_cast(te)); } -void fl_text_editor_paste (TEXTEDITOR te) { +void fl_text_editor_paste(TEXTEDITOR te) { Fl_Text_Editor::kf_paste(0, reinterpret_cast(te)); } -void fl_text_editor_delete (TEXTEDITOR te) { +void fl_text_editor_delete(TEXTEDITOR te) { Fl_Text_Editor::kf_delete(0, reinterpret_cast(te)); } -- cgit