ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6fce2fb80ba38ff0bc355b28f37901e377bf3f4f

commit 6fce2fb80ba38ff0bc355b28f37901e377bf3f4f
Author: Andy Williams <a...@andywilliams.me>
Date:   Fri Aug 26 15:17:12 2016 +0100

    elm: Show code widget width marker after the column
    
    Provide a clearer indication of what width is available
---
 src/lib/elementary/elm_code_widget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_code_widget.c 
b/src/lib/elementary/elm_code_widget.c
index 9f01f0c..823a198 100644
--- a/src/lib/elementary/elm_code_widget.c
+++ b/src/lib/elementary/elm_code_widget.c
@@ -151,7 +151,7 @@ _elm_code_widget_status_type_get(Elm_Code_Widget *widget, 
Elm_Code_Line *line, u
    if (pd->editable && pd->focussed && pd->cursor_line == line->number)
      return ELM_CODE_STATUS_TYPE_CURRENT;
 
-   if (pd->line_width_marker == col)
+   if (pd->line_width_marker == col-1)
      return ELM_CODE_WIDGET_COLOR_GUTTER_BG;
 
    return ELM_CODE_STATUS_TYPE_DEFAULT;

-- 


Reply via email to