Add close buttons for individual tabs in Fl_Tabs (#628)

Add close buttons for Fl_Tabs
Introducing callback reasons
FLUID shows all FL_WHEN_... options
Adding Fl_Tabs overflow types
Improved test/tabs to show new features
This commit is contained in:
Matthias Melcher
2023-01-05 13:51:30 +01:00
committed by GitHub
parent 4d1a508c7e
commit 8826dca106
41 changed files with 754 additions and 220 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ int CodeEditor::auto_indent(int, CodeEditor* e) {
}
e->show_insert_position();
e->set_changed();
if (e->when()&FL_WHEN_CHANGED) e->do_callback();
if (e->when()&FL_WHEN_CHANGED) e->do_callback(FL_REASON_CHANGED);
free(text);