summaryrefslogtreecommitdiff
path: root/c_fl_text_display.cpp
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2016-11-12 17:20:15 +1100
committerJed Barber <jjbarber@y7mail.com>2016-11-12 17:20:15 +1100
commitfa22b74c2e6528b4315909377f277ef193e19d11 (patch)
tree5dfce73c765d54e76fc758c8537a349825ae19ef /c_fl_text_display.cpp
parentcb8ade55fb2f85951e53706de277261b726ecad7 (diff)
Added basic word count feature
Diffstat (limited to 'c_fl_text_display.cpp')
-rw-r--r--c_fl_text_display.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/c_fl_text_display.cpp b/c_fl_text_display.cpp
index 94eb002..5104869 100644
--- a/c_fl_text_display.cpp
+++ b/c_fl_text_display.cpp
@@ -73,3 +73,13 @@ void fl_text_display_show_insert_pos(TEXTDISPLAY td) {
reinterpret_cast<Fl_Text_Display*>(td)->show_insert_position();
}
+
+void fl_text_display_next_word(TEXTDISPLAY td) {
+ reinterpret_cast<Fl_Text_Display*>(td)->next_word();
+}
+
+
+void fl_text_display_previous_word(TEXTDISPLAY td) {
+ reinterpret_cast<Fl_Text_Display*>(td)->previous_word();
+}
+