From dfd97e46397868e302c659dba71ade45e69468ed Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Tue, 19 Jul 2016 20:18:18 +0000 Subject: 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 --- FL/Fl_Text_Editor.H | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'FL/Fl_Text_Editor.H') 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) -- cgit v1.2.3