Summary: Cursor position should be saved because entry will be cleared when entry text set.
Reviewers: woohyun, id213sin
Reviewed By: id213sin
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4469
Change-Id: Ia575f7bf82a0f87c4343d0a457bfd4732f2dbb1d
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
}
/* Need to clear the entry first */
+ sd->cursor_pos = edje_object_part_text_cursor_pos_get
+ (sd->entry_edje, "elm.text", EDJE_CURSOR_MAIN);
edje_object_part_text_set(sd->entry_edje, "elm.text", "");
_entry_text_append(obj, entry, EINA_TRUE);