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 | b709843ae66a4348746d6a54114c99dd00ebdb74 (patch) | |
tree | 37d59a8f561577478f4fc60255bb7e5789bdd43d /src/fltk_binding/c_fl_text_editor.cpp | |
parent | 395e2de5b0d834091637820fc04d731721c771b7 (diff) |
All File/Edit functions working, just need to add Search/About menu stuff
Diffstat (limited to 'src/fltk_binding/c_fl_text_editor.cpp')
-rw-r--r-- | src/fltk_binding/c_fl_text_editor.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
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<Fl_Text_Editor*>(te)); +} + + +void fl_text_editor_cut(TEXTEDITOR te) { Fl_Text_Editor::kf_cut(0, reinterpret_cast<Fl_Text_Editor*>(te)); } -void fl_text_editor_copy (TEXTEDITOR te) { +void fl_text_editor_copy(TEXTEDITOR te) { Fl_Text_Editor::kf_copy(0, reinterpret_cast<Fl_Text_Editor*>(te)); } -void fl_text_editor_paste (TEXTEDITOR te) { +void fl_text_editor_paste(TEXTEDITOR te) { Fl_Text_Editor::kf_paste(0, reinterpret_cast<Fl_Text_Editor*>(te)); } -void fl_text_editor_delete (TEXTEDITOR te) { +void fl_text_editor_delete(TEXTEDITOR te) { Fl_Text_Editor::kf_delete(0, reinterpret_cast<Fl_Text_Editor*>(te)); } |