elm_code: Don't bold beginnings of lines

Fixes T6444
This commit is contained in:
Andy Williams 2017-11-29 16:10:28 +00:00
parent 038e492fe1
commit 54d3091133
1 changed files with 2 additions and 0 deletions

View File

@ -401,6 +401,7 @@ _elm_code_widget_fill_line(Elm_Code_Widget *widget, Elm_Code_Line *line)
unichr = eina_unicode_utf8_next_get(chr, &chrpos);
cells[x].codepoint = unichr;
cells[x].bold = 0;
cells[x].fg = ELM_CODE_TOKEN_TYPE_DEFAULT;
cells[x].bg = _elm_code_widget_status_type_get(widget, line, x - gutter + 1);
@ -418,6 +419,7 @@ _elm_code_widget_fill_line(Elm_Code_Widget *widget, Elm_Code_Line *line)
for (; x < (unsigned int) w; x++)
{
cells[x].codepoint = 0;
cells[x].bold = 0;
cells[x].bg = _elm_code_widget_status_type_get(widget, line, x - gutter + 1);
}