forked from enlightenment/efl
edje: Call _edje_entry_imf_context_reset in _edje_entry_user_insert.
Summary: When user paste text to elm_entry, _edje_entry_user_insert is called. We need to reset a prediction buffer just like _edje_entry_text_markup_insert. Reviewers: seoz, Hermet, woohyun, tasn, jihoon, raster Reviewed By: raster CC: cedric Differential Revision: https://phab.enlightenment.org/D461
This commit is contained in:
parent
20d0015470
commit
443d1e700a
|
@ -2956,6 +2956,7 @@ _edje_entry_user_insert(Edje_Real_Part *rp, const char *text)
|
|||
(!rp->typedata.text)) return;
|
||||
en = rp->typedata.text->entry_data;
|
||||
if (!en) return;
|
||||
_edje_entry_imf_context_reset(rp);
|
||||
info = _text_filter_markup_prepend(en->ed, en, en->cursor, text, NULL, NULL,
|
||||
EINA_TRUE, EINA_TRUE);
|
||||
_anchors_get(en->cursor, rp->object, en);
|
||||
|
|
Loading…
Reference in New Issue