forked from enlightenment/edi
[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:
parent
76af132619
commit
0772f3e8bc
|
@ -406,6 +406,8 @@ _elm_code_widget_empty_line(Elm_Code_Widget *widget, unsigned int number)
|
||||||
cells[x].codepoint = 0;
|
cells[x].codepoint = 0;
|
||||||
if (pd->editable && pd->focussed && pd->cursor_line == number)
|
if (pd->editable && pd->focussed && pd->cursor_line == number)
|
||||||
cells[x].bg = ELM_CODE_STATUS_TYPE_CURRENT;
|
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
|
else
|
||||||
cells[x].bg = ELM_CODE_STATUS_TYPE_DEFAULT;
|
cells[x].bg = ELM_CODE_STATUS_TYPE_DEFAULT;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue