[Issue]
A preediting Korean word is deleted, right after completion of the word.
[cause]
The API 'ecore_imf_context_reset' has been used in wrong case.
The usage of the API is like below in editable element.
1) When focus is out
2) When position of a cursor is moved by touch input
3) Before text selection starts
4) Before deleting string
[resolve]
This patch removes a redundant API.
When a preediting Korean word is completed,
platform emits a event 'ECORE_IMF_CALLBACK_COMMIT'
although 'ecore_imf_context_reset' is not called.
Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13441
Reviewed by: Antonio Gomes, Hyunhak Kim
Change-Id: I047411be517f0358d0a6f468fa71b95727159d46
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
preedit_queue_.push(composition_);
else {
view_->SetComposition(composition_);
- ResetIMFContext();
}
free(buffer);