summaryrefslogtreecommitdiff
path: root/src/c_fl_text_editor.h
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-20 00:42:19 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-20 00:42:19 +1300
commit82eb9509e9e273e8e9e7e584553ccc49f476d4a3 (patch)
treefcd903955511ba8798e76f76154c4d5b841ad6a5 /src/c_fl_text_editor.h
parentf27eb859eff94ec9c13239daee15f60ffecde089 (diff)
Filled holes in Fl_Text_Editor binding and make key/modifier/shortcut/flag representations more in line with C++
Diffstat (limited to 'src/c_fl_text_editor.h')
-rw-r--r--src/c_fl_text_editor.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/c_fl_text_editor.h b/src/c_fl_text_editor.h
index e25922f..3f57921 100644
--- a/src/c_fl_text_editor.h
+++ b/src/c_fl_text_editor.h
@@ -72,8 +72,27 @@ extern "C" void fl_text_editor_ctrl_shift_right(TEXTEDITOR te);
extern "C" void fl_text_editor_ctrl_shift_up(TEXTEDITOR te);
+extern "C" void fl_text_editor_meta_home(TEXTEDITOR te);
+extern "C" void fl_text_editor_meta_end(TEXTEDITOR te);
+extern "C" void fl_text_editor_meta_page_down(TEXTEDITOR te);
+extern "C" void fl_text_editor_meta_page_up(TEXTEDITOR te);
+extern "C" void fl_text_editor_meta_down(TEXTEDITOR te);
+extern "C" void fl_text_editor_meta_left(TEXTEDITOR te);
+extern "C" void fl_text_editor_meta_right(TEXTEDITOR te);
+extern "C" void fl_text_editor_meta_up(TEXTEDITOR te);
+
+
+extern "C" void fl_text_editor_meta_shift_home(TEXTEDITOR te);
+extern "C" void fl_text_editor_meta_shift_end(TEXTEDITOR te);
+extern "C" void fl_text_editor_meta_shift_page_down(TEXTEDITOR te);
+extern "C" void fl_text_editor_meta_shift_page_up(TEXTEDITOR te);
+extern "C" void fl_text_editor_meta_shift_down(TEXTEDITOR te);
+extern "C" void fl_text_editor_meta_shift_left(TEXTEDITOR te);
+extern "C" void fl_text_editor_meta_shift_right(TEXTEDITOR te);
+extern "C" void fl_text_editor_meta_shift_up(TEXTEDITOR te);
+
+
extern "C" void fl_text_editor_add_key_binding(TEXTEDITOR te, int k, int s, void * f);
-extern "C" void fl_text_editor_remove_key_binding(TEXTEDITOR te, int k, int s);
extern "C" void fl_text_editor_remove_all_key_bindings(TEXTEDITOR te);
extern "C" void fl_text_editor_set_default_key_function(TEXTEDITOR te, void * f);
@@ -88,6 +107,8 @@ extern "C" void fl_text_editor_set_tab_nav(TEXTEDITOR te, int t);
extern "C" void fl_text_editor_draw(TEXTEDITOR te);
extern "C" int fl_text_editor_handle(TEXTEDITOR te, int e);
+extern "C" int fl_text_editor_handle_key(TEXTEDITOR te);
+extern "C" void fl_text_editor_maybe_do_callback(TEXTEDITOR te);
#endif