elm: Show code widget width marker after the column

Provide a clearer indication of what width is available
This commit is contained in:
Andy Williams 2016-08-26 15:17:12 +01:00
parent 17d79745a3
commit 6fce2fb80b
1 changed files with 1 additions and 1 deletions

View File

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