summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2017-11-29 16:10:28 +0000
committerAndy Williams <andy@andywilliams.me>2017-11-29 16:17:27 +0000
commit54d3091133c78496cf121a4b1c022a536a402969 (patch)
treeaa4a781b6876e64219adbc2fd0de5c904eb4b85c
parent038e492fe1c2ae13fcdb3a2557478d25331300f9 (diff)
elm_code: Don't bold beginnings of lines
Fixes T6444
-rw-r--r--src/lib/elementary/elm_code_widget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_code_widget.c b/src/lib/elementary/elm_code_widget.c
index 774e763c78..eb4a83800e 100644
--- a/src/lib/elementary/elm_code_widget.c
+++ b/src/lib/elementary/elm_code_widget.c
@@ -401,6 +401,7 @@ _elm_code_widget_fill_line(Elm_Code_Widget *widget, Elm_Code_Line *line)
401 unichr = eina_unicode_utf8_next_get(chr, &chrpos); 401 unichr = eina_unicode_utf8_next_get(chr, &chrpos);
402 402
403 cells[x].codepoint = unichr; 403 cells[x].codepoint = unichr;
404 cells[x].bold = 0;
404 cells[x].fg = ELM_CODE_TOKEN_TYPE_DEFAULT; 405 cells[x].fg = ELM_CODE_TOKEN_TYPE_DEFAULT;
405 cells[x].bg = _elm_code_widget_status_type_get(widget, line, x - gutter + 1); 406 cells[x].bg = _elm_code_widget_status_type_get(widget, line, x - gutter + 1);
406 407
@@ -418,6 +419,7 @@ _elm_code_widget_fill_line(Elm_Code_Widget *widget, Elm_Code_Line *line)
418 for (; x < (unsigned int) w; x++) 419 for (; x < (unsigned int) w; x++)
419 { 420 {
420 cells[x].codepoint = 0; 421 cells[x].codepoint = 0;
422 cells[x].bold = 0;
421 cells[x].bg = _elm_code_widget_status_type_get(widget, line, x - gutter + 1); 423 cells[x].bg = _elm_code_widget_status_type_get(widget, line, x - gutter + 1);
422 } 424 }
423 425