diff -r d41b1ffc5f77 -r 958bae372271 ui/gtk/text.h --- a/ui/gtk/text.h Sun Nov 10 15:27:44 2024 +0100 +++ b/ui/gtk/text.h Tue Nov 12 14:58:03 2024 +0100 @@ -61,9 +61,12 @@ } UiUndoMgr; typedef struct UiTextArea { - UiContext *ctx; - UiVar *var; - int last_selection_state; + UiObject *obj; + UiContext *ctx; + UiVar *var; + int last_selection_state; + ui_callback onchange; + void *onchangedata; } UiTextArea; typedef struct UiTextField {