| 71 text->length = ui_textarea_length; |
71 text->length = ui_textarea_length; |
| 72 text->remove = ui_textarea_remove; |
72 text->remove = ui_textarea_remove; |
| 73 } |
73 } |
| 74 |
74 |
| 75 if(args->onchange || args->ontextchanged || args->onchange_action || args->ontextchanged_action) { |
75 if(args->onchange || args->ontextchanged || args->onchange_action || args->ontextchanged_action) { |
| 76 |
76 TextAreaDelegate * tad = [[TextAreaDelegate alloc] init:obj var:var args:args]; |
| |
77 textview.delegate = tad; |
| |
78 objc_setAssociatedObject(textview, "delegate", tad, OBJC_ASSOCIATION_RETAIN); |
| 77 } |
79 } |
| 78 |
80 |
| 79 return (__bridge void*)scrollview; |
81 return (__bridge void*)scrollview; |
| 80 } |
82 } |
| 81 |
83 |