summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWooHyun Jung <woohyun0705@gmail.com>2012-10-10 09:15:16 +0000
committerWooHyun Jung <woohyun0705@gmail.com>2012-10-10 09:15:16 +0000
commit311ea71f36a9c667926cd0c71c221ba72a475aac (patch)
tree9a4c63ddf8dc8e6b0fb2dbf5c9431f5710fd8af5
parentdbda81582a7669044f61d22549727e4799e8184f (diff)
edje/edje_entry : Add more tags(preedit_sub1~4) for supporting a
variety of preediting states. SVN revision: 77731
-rw-r--r--legacy/edje/ChangeLog4
-rw-r--r--legacy/edje/NEWS1
-rw-r--r--legacy/edje/src/lib/edje_entry.c28
3 files changed, 33 insertions, 0 deletions
diff --git a/legacy/edje/ChangeLog b/legacy/edje/ChangeLog
index 6f289f87ce..b2056f9b0f 100644
--- a/legacy/edje/ChangeLog
+++ b/legacy/edje/ChangeLog
@@ -649,3 +649,7 @@
6492012-09-27 Flavio Ceolin 6492012-09-27 Flavio Ceolin
650 650
651 * edje_codegen: adding support for draggable 651 * edje_codegen: adding support for draggable
652
6532012-10-10
654
655 * edje_entry: Add more tags(preedit_sub1~4) for a variety of preediting states.
diff --git a/legacy/edje/NEWS b/legacy/edje/NEWS
index ef4a0708f7..6ce0072d88 100644
--- a/legacy/edje/NEWS
+++ b/legacy/edje/NEWS
@@ -8,6 +8,7 @@ Additions:
8 * Add nested parts support. 8 * Add nested parts support.
9 * Add EDJE_INPUT_PANEL_RETURN_KEY_TYPE_SIGNIN 9 * Add EDJE_INPUT_PANEL_RETURN_KEY_TYPE_SIGNIN
10 * Add edje_codegen - A code generator to working with edje files. 10 * Add edje_codegen - A code generator to working with edje files.
11 * Add more tags(preedit_sub1~4) for a variety of preediting states.
11 12
12Improvements: 13Improvements:
13 * Check the number of parameter for image in edc. 14 * Check the number of parameter for image in edc.
diff --git a/legacy/edje/src/lib/edje_entry.c b/legacy/edje/src/lib/edje_entry.c
index 9fc5201921..eec75caa2b 100644
--- a/legacy/edje/src/lib/edje_entry.c
+++ b/legacy/edje/src/lib/edje_entry.c
@@ -3751,6 +3751,34 @@ _edje_entry_imf_event_preedit_changed_cb(void *data, Ecore_IMF_Context *ctx __UN
3751 attr->end_index - attr->start_index); 3751 attr->end_index - attr->start_index);
3752 eina_strbuf_append(buf, "</preedit_sel>"); 3752 eina_strbuf_append(buf, "</preedit_sel>");
3753 } 3753 }
3754 else if (attr->preedit_type == ECORE_IMF_PREEDIT_TYPE_SUB4)
3755 {
3756 eina_strbuf_append(buf, "<preedit_sub1>");
3757 eina_strbuf_append_n(buf, preedit_string + attr->start_index,
3758 attr->end_index - attr->start_index);
3759 eina_strbuf_append(buf, "</preedit_sub1>");
3760 }
3761 else if (attr->preedit_type == ECORE_IMF_PREEDIT_TYPE_SUB5)
3762 {
3763 eina_strbuf_append(buf, "<preedit_sub2>");
3764 eina_strbuf_append_n(buf, preedit_string + attr->start_index,
3765 attr->end_index - attr->start_index);
3766 eina_strbuf_append(buf, "</preedit_sub2>");
3767 }
3768 else if (attr->preedit_type == ECORE_IMF_PREEDIT_TYPE_SUB6)
3769 {
3770 eina_strbuf_append(buf, "<preedit_sub3>");
3771 eina_strbuf_append_n(buf, preedit_string + attr->start_index,
3772 attr->end_index - attr->start_index);
3773 eina_strbuf_append(buf, "</preedit_sub3>");
3774 }
3775 else if (attr->preedit_type == ECORE_IMF_PREEDIT_TYPE_SUB7)
3776 {
3777 eina_strbuf_append(buf, "<preedit_sub4>");
3778 eina_strbuf_append_n(buf, preedit_string + attr->start_index,
3779 attr->end_index - attr->start_index);
3780 eina_strbuf_append(buf, "</preedit_sub4>");
3781 }
3754 } 3782 }
3755 } 3783 }
3756 else 3784 else