summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2014-01-27 21:34:09 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2014-01-27 21:34:09 +0900
commit325bf9ab78a9d8d35d5c048656888626d35843a1 (patch)
treec384f54a942d13e721e2a7f016cfcd93811e5f46 /src
parent0df9bd2cdb987f795e69265b4c3cbabc8fda1466 (diff)
entry: clear selection before selecting new one
Diffstat (limited to 'src')
-rw-r--r--src/lib/edje/edje_entry.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/edje/edje_entry.c b/src/lib/edje/edje_entry.c
index 8a7b741eca..40592af05a 100644
--- a/src/lib/edje/edje_entry.c
+++ b/src/lib/edje/edje_entry.c
@@ -4212,12 +4212,11 @@ _edje_entry_imf_event_selection_set_cb(void *data, Ecore_IMF_Context *ctx EINA_U
4212 (rp->part->entry_mode < EDJE_ENTRY_EDIT_MODE_SELECTABLE)) 4212 (rp->part->entry_mode < EDJE_ENTRY_EDIT_MODE_SELECTABLE))
4213 return; 4213 return;
4214 4214
4215 _sel_clear(ed, en->cursor, rp->object, en);
4215 evas_textblock_cursor_pos_set(en->cursor, ev->start); 4216 evas_textblock_cursor_pos_set(en->cursor, ev->start);
4216 4217 _sel_enable(ed, en->cursor, rp->object, en);
4217 _sel_start(en->cursor, rp->object, en); 4218 _sel_start(en->cursor, rp->object, en);
4218
4219 evas_textblock_cursor_pos_set(en->cursor, ev->end); 4219 evas_textblock_cursor_pos_set(en->cursor, ev->end);
4220
4221 _sel_extend(ed, en->cursor, rp->object, en); 4220 _sel_extend(ed, en->cursor, rp->object, en);
4222} 4221}
4223 4222