diff options
author | Jed Barber <jjbarber@y7mail.com> | 2016-11-12 17:20:15 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2016-11-12 17:20:15 +1100 |
commit | 8908535c7dc9fc7adf3c56b96aecc49b319c5a9e (patch) | |
tree | c7dc949471370aa28924cfb8ca227d933e9e8702 /src/fltk_binding/c_fl_text_display.cpp | |
parent | 7aa86670f5d76284ae193ed1e1ed936b20a5c5fb (diff) |
Added basic word count feature
Diffstat (limited to 'src/fltk_binding/c_fl_text_display.cpp')
-rw-r--r-- | src/fltk_binding/c_fl_text_display.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/fltk_binding/c_fl_text_display.cpp b/src/fltk_binding/c_fl_text_display.cpp index 94eb002..5104869 100644 --- a/src/fltk_binding/c_fl_text_display.cpp +++ b/src/fltk_binding/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(); +} + |