diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-04-11 20:01:03 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-04-11 20:01:03 (GMT) |
commit | 7bd707cb43ed8830add9d9eec3a670c9a0ce4d68 (patch) | |
tree | 0ae304fd09046f67dfe41760e254cc3ebd6d8b94 /src/gtkext | |
parent | b66aa52128ad47d7130f087509535989d507d15b (diff) |
Fixed the remaining bugs in all kinds of navigation in buffer views.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@509 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext')
-rw-r--r-- | src/gtkext/gtkbufferview.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gtkext/gtkbufferview.c b/src/gtkext/gtkbufferview.c index ef4f985..ef5aac6 100644 --- a/src/gtkext/gtkbufferview.c +++ b/src/gtkext/gtkbufferview.c @@ -260,7 +260,8 @@ static gboolean gtk_buffer_view_button_press(GtkWidget *widget, GdkEventButton * else { //addr = g_buffer_view_compute_caret_old(view->buffer_view, line, index, real_x, pview->display, &new); - addr = g_buffer_view_compute_caret(view->buffer_view, real_x, real_y, pview->display, &new); + //addr = g_buffer_view_compute_caret(view->buffer_view, real_x, real_y, pview->display, &new); + addr = g_buffer_view_compute_caret_full(view->buffer_view, line, index, real_x, pview->display, &new); gtk_buffer_view_relocate_caret(view, &new, addr); } |