eina_inlist_append(EINA_INLIST_GET(c->ln->items),
EINA_INLIST_GET(it));
- _layout_line_reorder(c->ln);
+ /* TIZEN_ONLY (20200515) : fixing white-space based wrapping + ellipsis problem
+ This reodering would not be condidered by later functions (such as _layout_handle_ellipsis).
+ If there would be no problem without this function, let's remove this code. */
+ //_layout_line_reorder(c->ln);
EINA_INLIST_FOREACH(c->ln->items, vis_it)
{
_layout_item_text_split_strip_white(c,
_ITEM_TEXT(prev_it), eina_list_prev(i),
_ITEM_TEXT(prev_it)->text_props.text_len);
+
+ /* TIZEN_ONLY(20200515) : fixing white-space based wrapping + ellipsis problem */
+ if (prev_it->visually_deleted)
+ {
+ c->ln->items = _ITEM(eina_inlist_remove(
+ EINA_INLIST_GET(c->ln->items),
+ EINA_INLIST_GET(prev_it)));
+ }
+ //////
}
/* We didn't end up using the item, so revert the ascent