Summary:
Fix to delete selection when preedit status has not ended
In preedit mode when selection is made and input any letter,
there is duplicate character appeared because the selection
is cleared when commit happens so delete the selection in
preedit last stage.
@fix
Test Plan: Test in Tizen devices.
Reviewers: woohyun, id213sin, shilpasingh, tasn
Subscribers: rajeshps, cedric, govi
Differential Revision: https://phab.enlightenment.org/D2837
if (!strcmp(preedit_string, ""))
preedit_end_state = EINA_TRUE;
+ if (en->have_selection && !preedit_end_state)
+ _range_del_emit(ed, en->cursor, rp->object, en);
+
/* delete preedit characters */
_preedit_del(en);