summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_code_widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_code_widget.c')
-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 e19aa5500b..8c6db21334 100644
--- a/src/lib/elementary/elm_code_widget.c
+++ b/src/lib/elementary/elm_code_widget.c
@@ -393,6 +393,9 @@ _elm_code_widget_fill_range(Elm_Code_Widget *widget, Elm_Code_Widget_Data *pd,
393 Elm_Code_Line *line; 393 Elm_Code_Line *line;
394 unsigned int y; 394 unsigned int y;
395 395
396 if (newline)
397 _elm_code_widget_fill_line(widget, newline);
398
396 // if called from new line cb, no need to update whole range unless visible 399 // if called from new line cb, no need to update whole range unless visible
397 if (newline && !elm_obj_code_widget_line_visible_get(widget, newline)) 400 if (newline && !elm_obj_code_widget_line_visible_get(widget, newline))
398 return; 401 return;