On Wed, 5 May 2021 at 10:08, Dave Jordan wrote:
> notes = new Fl_Text_Editor(x, y, w, h);
> notes->wrap_mode(Fl_Text_Display::WRAP_AT_BOUNDS, 0);
> Fl_Text_Editor::kf_ignore(notes, FL_Tab); // compiles but does nothing as far as i can see. I am using 1.3.5 ABI 10300)
> notes->tab_nav(1); // compiler error no such member (ABI version too old I think).
> I have also tried subclassng and adding handler, to no avail.
> thanks for any help.
You might need to describe what it is you actually want to do here (in
terms simple enough for me to understand...)
The crux is, as you are no doubt aware, that tab is a valid character
in a text editor, and so tab-navigation in an editor widget can not
work like tab-navigation between other widgets.
But to help with this, we do need to know what you actually want to achieve.
I am trying to make the tab key navigate out of the Fl_Text_Editor instead of inserting a tab into it.
and i just noticed that tab_nav is not applicable to text editor. but kf_ignore is, but i couldnt get that to work either.
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CAPdW6bKxi4o7Q1NPQkxoYm7s%2Bz%2BbSA2bsWNCRZxCA3as%2Bd_yuQ%40mail.gmail.com.
[ Direct Link to Message ]