Add a temporary fix for some scroll/append/refresh issue with layout

This commit is contained in:
Andy Williams 2015-02-17 23:56:13 +00:00
parent eaa683da03
commit 958340e321
1 changed files with 4 additions and 2 deletions

View File

@ -240,8 +240,10 @@ _elm_code_widget_line_cb(void *data, Eo *obj EINA_UNUSED,
if (!_elm_code_widget_resize(widget))
return EINA_TRUE;
cells = evas_object_textgrid_cellrow_get(pd->grid, line->number - 1);
_elm_code_widget_fill_line(widget, cells, line);
// FIXME refresh just the row - but this resulted in undrawn areas
// cells = evas_object_textgrid_cellrow_get(pd->grid, line->number - 1);
// _elm_code_widget_fill_line(widget, cells, line);
_elm_code_widget_fill(widget);
return EO_CALLBACK_CONTINUE;
}