ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=0772f3e8bc4cbe9789c86433aaee376f456eaa57

commit 0772f3e8bc4cbe9789c86433aaee376f456eaa57
Author: Andy Williams <a...@andywilliams.me>
Date:   Thu Feb 25 15:51:08 2016 +0000

    [editor] draw line width marker after file end
    
    A ore uniform look if the marker goes all the way down the screen
---
 elm_code/src/lib/widget/elm_code_widget.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/elm_code/src/lib/widget/elm_code_widget.c 
b/elm_code/src/lib/widget/elm_code_widget.c
index 10aa690..145d6b1 100644
--- a/elm_code/src/lib/widget/elm_code_widget.c
+++ b/elm_code/src/lib/widget/elm_code_widget.c
@@ -406,6 +406,8 @@ _elm_code_widget_empty_line(Elm_Code_Widget *widget, 
unsigned int number)
         cells[x].codepoint = 0;
         if (pd->editable && pd->focussed && pd->cursor_line == number)
           cells[x].bg = ELM_CODE_STATUS_TYPE_CURRENT;
+        else if (pd->line_width_marker == x - gutter + 1)
+          cells[x].bg = ELM_CODE_WIDGET_COLOR_GUTTER_BG;
         else
           cells[x].bg = ELM_CODE_STATUS_TYPE_DEFAULT;
      }

-- 


Reply via email to