summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2014-01-20 15:59:50 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-20 15:59:51 +0900
commit443d1e700a5b81cfede261d63d30e05a95c14d86 (patch)
tree01b1d551d38ee4ac2635bcb74bcab202e65eb201 /src
parent20d00154705e45f06cb93cf7c6d563ec8ff0266e (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/edje/edje_entry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c
index 8a8f1453a4..53494a3858 100644
--- a/src/lib/edje/edje_entry.c
+++ b/src/lib/edje/edje_entry.c
@@ -2956,6 +2956,7 @@ _edje_entry_user_insert(Edje_Real_Part *rp, const char *text)
2956 (!rp->typedata.text)) return; 2956 (!rp->typedata.text)) return;
2957 en = rp->typedata.text->entry_data; 2957 en = rp->typedata.text->entry_data;
2958 if (!en) return; 2958 if (!en) return;
2959 _edje_entry_imf_context_reset(rp);
2959 info = _text_filter_markup_prepend(en->ed, en, en->cursor, text, NULL, NULL, 2960 info = _text_filter_markup_prepend(en->ed, en, en->cursor, text, NULL, NULL,
2960 EINA_TRUE, EINA_TRUE); 2961 EINA_TRUE, EINA_TRUE);
2961 _anchors_get(en->cursor, rp->object, en); 2962 _anchors_get(en->cursor, rp->object, en);