parent
038e492fe1
commit
54d3091133
|
@ -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);
|
unichr = eina_unicode_utf8_next_get(chr, &chrpos);
|
||||||
|
|
||||||
cells[x].codepoint = unichr;
|
cells[x].codepoint = unichr;
|
||||||
|
cells[x].bold = 0;
|
||||||
cells[x].fg = ELM_CODE_TOKEN_TYPE_DEFAULT;
|
cells[x].fg = ELM_CODE_TOKEN_TYPE_DEFAULT;
|
||||||
cells[x].bg = _elm_code_widget_status_type_get(widget, line, x - gutter + 1);
|
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++)
|
for (; x < (unsigned int) w; x++)
|
||||||
{
|
{
|
||||||
cells[x].codepoint = 0;
|
cells[x].codepoint = 0;
|
||||||
|
cells[x].bold = 0;
|
||||||
cells[x].bg = _elm_code_widget_status_type_get(widget, line, x - gutter + 1);
|
cells[x].bg = _elm_code_widget_status_type_get(widget, line, x - gutter + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue