diff options
| author | Greg Ercolano <erco@seriss.com> | 2016-07-19 20:18:18 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2016-07-19 20:18:18 +0000 |
| commit | dfd97e46397868e302c659dba71ade45e69468ed (patch) | |
| tree | 68f6a1b3f4a17b6fc3ef064c1f681bb1036377b3 /FL/Fl_Text_Editor.H | |
| parent | dc8a00fbba213c9ea8632c046230ecc677b996f9 (diff) | |
Bringing over this fix from 1.3 current to the porting branch.
Fixes STR #3305; adds tab_nav() method allowing Fl_Text_Editor
to honor tab key focus navigation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11820 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Text_Editor.H')
| -rw-r--r-- | FL/Fl_Text_Editor.H | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/FL/Fl_Text_Editor.H b/FL/Fl_Text_Editor.H index 1a01dfc8d..4e6eb52d6 100644 --- a/FL/Fl_Text_Editor.H +++ b/FL/Fl_Text_Editor.H @@ -66,6 +66,11 @@ class FL_EXPORT Fl_Text_Editor : public Fl_Text_Display { */ int insert_mode() { return insert_mode_; } +#if FLTK_ABI_VERSION >= 10304 + void tab_nav(int val); + int tab_nav() const; +#endif + void add_key_binding(int key, int state, Key_Func f, Key_Binding** list); /** Adds a \p key of state \p state with the function \p f. */ void add_key_binding(int key, int state, Key_Func f) |
