summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/elm_code_widget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_code_widget.c b/src/lib/elementary/elm_code_widget.c
index 7979a4d..30c8732 100644
--- a/src/lib/elementary/elm_code_widget.c
+++ b/src/lib/elementary/elm_code_widget.c
@@ -542,6 +542,8 @@ _elm_code_widget_refresh(Elm_Code_Widget *widget, Elm_Code_Line *line)
542 return ; 542 return ;
543 543
544 _elm_code_widget_fill_update(widget, first_row, last_row, line); 544 _elm_code_widget_fill_update(widget, first_row, last_row, line);
545 if (pd->editable)
546 _elm_code_widget_cursor_update(widget, pd);
545} 547}
546 548
547static void 549static void
@@ -798,6 +800,7 @@ _elm_code_widget_geometry_for_position_get(Elm_Code_Widget *widget, Elm_Code_Wid
798 gutter = efl_ui_code_widget_text_left_gutter_width_get(widget); 800 gutter = efl_ui_code_widget_text_left_gutter_width_get(widget);
799 801
800 grid = eina_list_nth(pd->grids, row - 1); 802 grid = eina_list_nth(pd->grids, row - 1);
803 evas_object_smart_calculate(pd->gridbox);
801 evas_object_geometry_get(grid, x, y, NULL, NULL); 804 evas_object_geometry_get(grid, x, y, NULL, NULL);
802 805
803 if (x) 806 if (x)