[gedit/wip/text-cut-off-2] text-cut-off: idle scroll: don't scroll to cursor after file load
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/text-cut-off-2] text-cut-off: idle scroll: don't scroll to cursor after file load
- Date: Thu, 21 Jul 2022 18:40:32 +0000 (UTC)
commit b2417863a12008afdd4177c3c7ebee4f1c788b1c
Author: Sébastien Wilmet <swilmet informatique-libre be>
Date: Thu Jul 21 20:33:23 2022 +0200
text-cut-off: idle scroll: don't scroll to cursor after file load
It seems to fix the text-cut-off bug.
gedit/gedit-tab.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gedit/gedit-tab.c b/gedit/gedit-tab.c
index af72864e2..71b038512 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]