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)
downloadefl-54d3091133c78496cf121a4b1c022a536a402969.tar.gz
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)
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);
}