ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=54d3091133c78496cf121a4b1c022a536a402969

commit 54d3091133c78496cf121a4b1c022a536a402969
Author: Andy Williams <[email protected]>
Date:   Wed Nov 29 16:10:28 2017 +0000

    elm_code: Don't bold beginnings of lines
    
    Fixes T6444
---
 src/lib/elementary/elm_code_widget.c | 2 ++
 1 file changed, 2 insertions(+)

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);
      }
 

-- 


Reply via email to