edje: Call _edje_entry_imf_context_reset in _edje_entry_user_insert.
authorYoungbok Shin <youngb.shin@samsung.com>
Mon, 20 Jan 2014 06:59:50 +0000 (15:59 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Mon, 20 Jan 2014 06:59:51 +0000 (15:59 +0900)
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

src/lib/edje/edje_entry.c

index 8a8f145..53494a3 100644 (file)
@@ -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);