[editor] draw line width marker after file end

A ore uniform look if the marker goes all the way down the screen
This commit is contained in:
Andy Williams 2016-02-25 15:51:08 +00:00
parent 76af132619
commit 0772f3e8bc
1 changed files with 2 additions and 0 deletions

View File

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