summaryrefslogtreecommitdiff
path: root/c_fl_text_editor.cpp
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-09-19 18:48:47 +1000
committerJed Barber <jjbarber@y7mail.com>2016-09-19 18:48:47 +1000
commitd12fdd75d1c131bbe4bd49413c3da51131cd1e73 (patch)
tree90cdd01f7a2c6d9bafccb345314a22d60c5ffa60 /c_fl_text_editor.cpp
parenta4b14b883f918161d2c235a52730d159b2f9ca7a (diff)
All File/Edit functions working, just need to add Search/About menu stuff
Diffstat (limited to 'c_fl_text_editor.cpp')
-rw-r--r--c_fl_text_editor.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/c_fl_text_editor.cpp b/c_fl_text_editor.cpp
index 6754695..1290e7b 100644
--- a/c_fl_text_editor.cpp
+++ b/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));
}