projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33a6892
)
ecore_imf_example: let immodule know the change of cursor infomation when backspace...
author
Jihoon Kim
<imfine98@gmail.com>
Wed, 31 Oct 2012 23:42:47 +0000
(23:42 +0000)
committer
Jihoon Kim
<imfine98@gmail.com>
Wed, 31 Oct 2012 23:42:47 +0000
(23:42 +0000)
SVN revision: 78735
legacy/ecore/src/examples/ecore_imf_example.c
patch
|
blob
|
history
diff --git
a/legacy/ecore/src/examples/ecore_imf_example.c
b/legacy/ecore/src/examples/ecore_imf_example.c
index
53f3899
..
0ca080e
100644
(file)
--- a/
legacy/ecore/src/examples/ecore_imf_example.c
+++ b/
legacy/ecore/src/examples/ecore_imf_example.c
@@
-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))