[gedit/wip/adjustment-checks-2] tab: do nothing in scroll_to_cursor()




commit 4eb5acafcf59a9aa01d9410a0f9dfbaf2d17e1a9
Author: Sébastien Wilmet <swilmet informatique-libre be>
Date:   Mon Jul 25 04:41:47 2022 +0200

    tab: do nothing in scroll_to_cursor()

 gedit/gedit-tab.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gedit/gedit-tab.c b/gedit/gedit-tab.c
index bf70ce0c3..842f3fb17 100644
--- a/gedit/gedit-tab.c
+++ b/gedit/gedit-tab.c
@@ -1031,10 +1031,12 @@ should_show_progress_info (GTimer  **timer,
 static gboolean
 scroll_to_cursor (GeditTab *tab)
 {
+#if 0
        GeditView *view;
 
        view = gedit_tab_get_view (tab);
        tepl_view_scroll_to_cursor (TEPL_VIEW (view));
+#endif
 
        tab->idle_scroll = 0;
        return G_SOURCE_REMOVE;


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