[gnome-builder/editor-layout] scroll to insert when focusing widget



commit 91709f4f5461e5bd71df28673aa2e20f30333df0
Author: Christian Hergert <christian hergert me>
Date:   Sun Nov 30 02:32:36 2014 -0800

    scroll to insert when focusing widget

 src/editor/gb-source-view.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/editor/gb-source-view.c b/src/editor/gb-source-view.c
index a5e4f8a..d54b831 100644
--- a/src/editor/gb-source-view.c
+++ b/src/editor/gb-source-view.c
@@ -1700,6 +1700,8 @@ gb_source_view_focus_in_event (GtkWidget     *widget,
   completion = gtk_source_view_get_completion (GTK_SOURCE_VIEW (widget));
   gtk_source_completion_unblock_interactive (completion);
 
+  gb_source_view_scroll_to_insert (GB_SOURCE_VIEW (widget));
+
   return ret;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]