52 UcxList *cur; |
52 UcxList *cur; |
53 int length; |
53 int length; |
54 int event; |
54 int event; |
55 } UiUndoMgr; |
55 } UiUndoMgr; |
56 |
56 |
|
57 typedef struct UiTextArea { |
|
58 UiContext *ctx; |
|
59 int last_selection_state; |
|
60 } UiTextArea; |
|
61 |
57 char* ui_textarea_get(UiText *text); |
62 char* ui_textarea_get(UiText *text); |
58 void ui_textarea_set(UiText *text, char *str); |
63 void ui_textarea_set(UiText *text, char *str); |
59 char* ui_textarea_getsubstr(UiText *text, int begin, int end); |
64 char* ui_textarea_getsubstr(UiText *text, int begin, int end); |
60 void ui_textarea_insert(UiText *text, int pos, char *str); |
65 void ui_textarea_insert(UiText *text, int pos, char *str); |
61 |
66 |