From: Jihoon Kim <jihoon48.kim@samsung.com>
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 27 May 2011 10:46:51 +0000 (10:46 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 27 May 2011 10:46:51 +0000 (10:46 +0000)
commit920202745d778a4e25c60be100cac9a07477f475
tree8f00850e9fdc302e675dec9d7e523211ac755972
parentbadd37ec2b9cd97f3c2faea335bfaa02ef0205b6
From: Jihoon Kim <jihoon48.kim@samsung.com>

When elm_entry_entry_set() is called, the preedit text in the entry should
be cleared. ATM, it doesn’t works so.

This patch will resolve this problem.

When ecore_imf_context_reset() is called, the preedit text in the immodule
will be committed by calling ‘ecore_imf_context_commit_event_add()’.

ecore_imf_context_commit_event_add puts the event in ecore event queue, so
it will be processed in the idle state of ecore loop.

According to this mechanism, commit text is inserted later, so I use
‘ecore_main_loop_iterate();’ for inserting the commit string instantly.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@59732 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/edje_entry.c