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)
|
2012-08-13 Carsten Haitzler (The Rasterman)
|
||||||
|
|
||||||
* Fix async fd stuff to generate new pipe after a fork (pid mismatch)
|
* 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.
|
||||||
|
|
|
@ -8928,8 +8928,16 @@ _evas_textblock_cursor_range_in_line_geometry_get(
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
x = 0;
|
if (end > 0)
|
||||||
w = it2->w;
|
{
|
||||||
|
x = it2->adv;
|
||||||
|
w = 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
x = 0;
|
||||||
|
w = it2->adv;
|
||||||
|
}
|
||||||
_evas_textblock_range_calc_x_w(it2, &x, &w, EINA_FALSE,
|
_evas_textblock_range_calc_x_w(it2, &x, &w, EINA_FALSE,
|
||||||
switch_items);
|
switch_items);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue