lv_textarea_set_insert_replace() function
In `LV_EVENT_INSERT` the text which planned to be inserted can be replaced by an other text. It can be used to add automatic formatting to the text area.
Syntax
void lv_textarea_set_insert_replace(lv_obj_t * obj,
const char * txt);
Arguments
obj
pointer to a text area object
txt
pointer to a new string to insert. If `""` no text will be added. The variable must be live after the `event_cb` exists. (Should be `global` or `static`)