forked from enlightenment/efl
Evas textblock: Fixed range geometry when the last item is a format.
SVN revision: 75257
This commit is contained in:
parent
54650e7e56
commit
fc94d7b168
|
@ -957,3 +957,7 @@
|
|||
2012-08-13 Carsten Haitzler (The Rasterman)
|
||||
|
||||
* Fix async fd stuff to generate new pipe after a fork (pid mismatch)
|
||||
|
||||
2012-08-14 Tom Hacohen (TAsn)
|
||||
|
||||
* Textblock: Fixed range geometry when the last item is a format.
|
||||
|
|
|
@ -8926,10 +8926,18 @@ _evas_textblock_cursor_range_in_line_geometry_get(
|
|||
switch_items);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (end > 0)
|
||||
{
|
||||
x = it2->adv;
|
||||
w = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
x = 0;
|
||||
w = it2->w;
|
||||
w = it2->adv;
|
||||
}
|
||||
_evas_textblock_range_calc_x_w(it2, &x, &w, EINA_FALSE,
|
||||
switch_items);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue