diff -r 012418e7dc90 -r bcf880b29bc3 ui/gtk/text.h --- a/ui/gtk/text.h Thu Apr 03 11:12:22 2014 +0200 +++ b/ui/gtk/text.h Thu Apr 03 14:16:41 2014 +0200 @@ -54,6 +54,11 @@ int event; } UiUndoMgr; +typedef struct UiTextArea { + UiContext *ctx; + int last_selection_state; +} UiTextArea; + char* ui_textarea_get(UiText *text); void ui_textarea_set(UiText *text, char *str); char* ui_textarea_getsubstr(UiText *text, int begin, int end);