forked from enlightenment/efl
ecore_imf_example: let immodule know the change of cursor infomation when backspace is pressed
SVN revision: 78735
This commit is contained in:
parent
33a6892763
commit
be80050118
|
@ -320,9 +320,12 @@ _key_down_cb(void *data, Evas *e, Evas_Object *obj, void *event_info)
|
|||
if (!strcmp(ev->key, "BackSpace"))
|
||||
{
|
||||
if (evas_textblock_cursor_char_prev(en->cursor))
|
||||
evas_textblock_cursor_char_delete(en->cursor);
|
||||
|
||||
return;
|
||||
{
|
||||
evas_textblock_cursor_char_delete(en->cursor);
|
||||
/* notify cursor information */
|
||||
_imf_cursor_info_set(en);
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (!strcmp(ev->key, "Delete") ||
|
||||
(!strcmp(ev->key, "KP_Delete") && !ev->string))
|
||||
|
|
Loading…
Reference in New Issue