25 #ifndef FL_TEXT_EDITOR_H
26 #define FL_TEXT_EDITOR_H
28 #include "Fl_Text_Display.H"
31 #define FL_TEXT_EDITOR_ANY_STATE (-1L)
69 #if FLTK_ABI_VERSION >= 10304
70 void tab_nav(
int val);
74 void add_key_binding(
int key,
int state, Key_Func f, Key_Binding** list);
76 void add_key_binding(
int key,
int state, Key_Func f)
78 void remove_key_binding(
int key,
int state, Key_Binding** list);
80 void remove_key_binding(
int key,
int state)
82 void remove_all_key_bindings(Key_Binding** list);
85 void add_default_key_bindings(Key_Binding** list);
86 #if FLTK_ABI_VERSION < 10304
88 Key_Func bound_key_function(
int key,
int state, Key_Binding* list);
90 Key_Func bound_key_function(
int key,
int state)
91 {
return bound_key_function(key, state, key_bindings); }
94 Key_Func bound_key_function(
int key,
int state, Key_Binding* list)
const;
96 Key_Func bound_key_function(
int key,
int state)
const
131 void maybe_do_callback();
135 Key_Binding* key_bindings;
148 Key_Func default_key_function_;