summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorWooHyun Jung <wh0705.jung@samsung.com>2020-10-08 12:32:53 +0900
committerWooHyun Jung <wh0705.jung@samsung.com>2020-10-08 12:32:53 +0900
commit509e3fcc7a65918f6bcf8a664353b45af457cfa6 (patch)
tree7deb45be2683af33c78c3dd64391e565a76ed3f6 /src/lib/evas
parent0a08a860a87fc99e712be1ec72d91a5536c856c2 (diff)
Revert "Revert "evas_textblock: rainbow flag emoji treated as two clusters(update unibreak to version 4.2)""
This reverts commit 173b3a108e1b2093ac37650619a61568aaed4e04. This was reverted because of freezing codes for release. Now, release work was over. So, I think it's ok to restore this.
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index 501e12ba78..77f3d3d07a 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -10249,7 +10249,7 @@ evas_textblock_cursor_word_start(Efl_Text_Cursor_Handle *cur)
10249 if ((cur->pos > 0) && (cur->pos == len)) 10249 if ((cur->pos > 0) && (cur->pos == len))
10250 cur->pos--; 10250 cur->pos--;
10251 10251
10252 for (i = cur->pos ; _is_white(text[i]) && BREAK_AFTER(i) ; i--) 10252 for (i = cur->pos ; _is_white(text[i]) ; i--)
10253 { 10253 {
10254 if (i == 0) 10254 if (i == 0)
10255 { 10255 {
@@ -10316,7 +10316,7 @@ evas_textblock_cursor_word_end(Efl_Text_Cursor_Handle *cur)
10316 set_wordbreaks_utf32((const utf32_t *) text, len, lang, breaks); 10316 set_wordbreaks_utf32((const utf32_t *) text, len, lang, breaks);
10317 } 10317 }
10318 10318
10319 for (i = cur->pos; text[i] && _is_white(text[i]) && (BREAK_AFTER(i)) ; i++); 10319 for (i = cur->pos; text[i] && _is_white(text[i]) ; i++);
10320 if (i == len) 10320 if (i == len)
10321 { 10321 {
10322 Evas_Object_Textblock_Node_Text *nnode; 10322 Evas_Object_Textblock_Node_Text *nnode;