evas textblock: fixed ellipsis character cut off issue with complex markup text.
authorYoungbok Shin <youngb.shin@samsung.com>
Tue, 2 Sep 2014 10:42:32 +0000 (11:42 +0100)
committerTom Hacohen <tom@stosb.com>
Tue, 2 Sep 2014 10:47:36 +0000 (11:47 +0100)
commit15281561e5f9e00566418450c1206a5de41fb469
treef6ba739b5f36ac54e79d6fa78be9f79baf339f33
parent5e063b37a240205cee05412c2167e2865ad022ab
evas textblock: fixed ellipsis character cut off issue with complex markup text.

Summary:
Evas Textblock ellipsis is handled in a item.
When the ellipsis item is added in the text, some characters are cut off
considering width of ellipsis character.
But, it is handled in only one text item.
If there are many short text item, the ellipsis item can be cut off visually.
And there was a bug in the patch when text is displayed in two lines or more.
The bug is also fixed.

Fixes Phab ticket T1213

@fix

Test Plan: This commit includes test case.

Reviewers: woohyun, seoz, sohyun, tasn, raster

Subscribers: cedric, herdsman

Differential Revision: https://phab.enlightenment.org/D1360
src/lib/evas/canvas/evas_object_textblock.c
src/tests/evas/evas_test_textblock.c