summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2016-08-26 15:17:12 +0100
committerAndy Williams <andy@andywilliams.me>2016-08-26 15:17:37 +0100
commit6fce2fb80ba38ff0bc355b28f37901e377bf3f4f (patch)
tree5421833b4700893a45ec01ba3af35410f39634fb /src
parent17d79745a315a4a72ae44a7f8a6227dfd866c143 (diff)
elm: Show code widget width marker after the column
Provide a clearer indication of what width is available
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/elm_code_widget.c2
1 files changed, 1 insertions, 1 deletions
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
151 if (pd->editable && pd->focussed && pd->cursor_line == line->number) 151 if (pd->editable && pd->focussed && pd->cursor_line == line->number)
152 return ELM_CODE_STATUS_TYPE_CURRENT; 152 return ELM_CODE_STATUS_TYPE_CURRENT;
153 153
154 if (pd->line_width_marker == col) 154 if (pd->line_width_marker == col-1)
155 return ELM_CODE_WIDGET_COLOR_GUTTER_BG; 155 return ELM_CODE_WIDGET_COLOR_GUTTER_BG;
156 156
157 return ELM_CODE_STATUS_TYPE_DEFAULT; 157 return ELM_CODE_STATUS_TYPE_DEFAULT;