diff options
author | Stefan Schmidt <stefan@datenfreihafen.org> | 2020-09-01 13:00:33 +0200 |
---|---|---|
committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2020-09-01 13:00:33 +0200 |
commit | 173b3a108e1b2093ac37650619a61568aaed4e04 (patch) | |
tree | 75ffde851837e91b660c9334454f248ef0d79bac /src/lib/evas/canvas | |
parent | 6e025575350276a0f43ffc33ade696e6bffca395 (diff) | |
download | efl-173b3a108e1b2093ac37650619a61568aaed4e04.tar.gz |
Revert "evas_textblock: rainbow flag emoji treated as two clusters(update unibreak to version 4.2)"
This reverts commit 1ab71284db89dcc37da12dd56796e892bc50ae0a.
We are in freeze.
Diffstat (limited to 'src/lib/evas/canvas')
-rw-r--r-- | src/lib/evas/canvas/evas_object_textblock.c | 4 |
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 aacc251b1b..45fc1a0028 100644 --- a/src/lib/evas/canvas/evas_object_textblock.c +++ b/src/lib/evas/canvas/evas_object_textblock.c @@ -10291,7 +10291,7 @@ evas_textblock_cursor_word_start(Efl_Text_Cursor_Handle *cur) if ((cur->pos > 0) && (cur->pos == len)) cur->pos--; - for (i = cur->pos ; _is_white(text[i]) ; i--) + for (i = cur->pos ; _is_white(text[i]) && BREAK_AFTER(i) ; i--) { if (i == 0) { @@ -10358,7 +10358,7 @@ evas_textblock_cursor_word_end(Efl_Text_Cursor_Handle *cur) set_wordbreaks_utf32((const utf32_t *) text, len, lang, breaks); } - for (i = cur->pos; text[i] && _is_white(text[i]) ; i++); + for (i = cur->pos; text[i] && _is_white(text[i]) && (BREAK_AFTER(i)) ; i++); if (i == len) { Evas_Object_Textblock_Node_Text *nnode; |