summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Poole <netstar@gmail.com>2017-05-24 21:18:19 +0100
committerAndy Williams <andy@andywilliams.me>2017-05-24 21:25:24 +0100
commit66fd9839a0ac147b1925793303eef6c3bafbd23c (patch)
tree00b2e19cac514f286634b5babb5c9f22a000dd9b
parent99738e4d39a9228738bac6853de2942b1e364eb0 (diff)
elm_code: fix cursor position (100%)
Reviewers: ajwillia.ms Reviewed By: ajwillia.ms Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4905
-rw-r--r--src/lib/elementary/elm_code_widget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_code_widget.c b/src/lib/elementary/elm_code_widget.c
index 8b46083c00..b59070acb2 100644
--- a/src/lib/elementary/elm_code_widget.c
+++ b/src/lib/elementary/elm_code_widget.c
@@ -1938,6 +1938,7 @@ _elm_code_widget_resize(Elm_Code_Widget *widget, Elm_Code_Line *newline)
1938 _elm_code_widget_scroll_by(widget, 1938 _elm_code_widget_scroll_by(widget,
1939 (pd->gravity_x == 1.0 && ww > old_width) ? ww - old_width : 0, 1939 (pd->gravity_x == 1.0 && ww > old_width) ? ww - old_width : 0,
1940 (pd->gravity_y == 1.0 && wh > old_height) ? wh - old_height : 0); 1940 (pd->gravity_y == 1.0 && wh > old_height) ? wh - old_height : 0);
1941 elm_box_recalculate(pd->gridbox);
1941} 1942}
1942 1943
1943EOAPI void 1944EOAPI void