diff -r 5de33c2d94c6 -r ad7ced6cf00b ui/gtk/text.h --- a/ui/gtk/text.h Mon Nov 11 20:45:34 2024 +0100 +++ b/ui/gtk/text.h Mon Nov 11 22:42:09 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 {