edje: call imf reset before selecting text area
authorJihoon Kim <jihoon48.kim@samsung.com>
Sat, 1 Feb 2014 01:32:53 +0000 (10:32 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Sat, 1 Feb 2014 01:32:53 +0000 (10:32 +0900)
src/lib/edje/edje_entry.c

index 8b4d899a28832a47a692950fad3b996d5fe671a5..a054e1bc0cbf9f871ae03f08c01d6c58c83cd862 100644 (file)
@@ -4254,12 +4254,16 @@ _edje_entry_imf_event_selection_set_cb(void *data, Ecore_IMF_Context *ctx EINA_U
        (rp->part->entry_mode < EDJE_ENTRY_EDIT_MODE_SELECTABLE))
      return;
 
+   _edje_entry_imf_context_reset(rp);
+
    _sel_clear(ed, en->cursor, rp->object, en);
    evas_textblock_cursor_pos_set(en->cursor, ev->start);
    _sel_enable(ed, en->cursor, rp->object, en);
    _sel_start(en->cursor, rp->object, en);
    evas_textblock_cursor_pos_set(en->cursor, ev->end);
    _sel_extend(ed, en->cursor, rp->object, en);
+
+   _edje_entry_real_part_configure(en->ed, rp);
 }
 
 static Eina_Bool