[gnome-builder] libide: try to stay as close to line start as we can
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: try to stay as close to line start as we can
- Date: Mon, 23 Mar 2015 23:53:31 +0000 (UTC)
commit 650c27c2d7023568c8f6b3f8aed711e429f2638a
Author: Christian Hergert <christian hergert me>
Date: Wed Mar 4 12:13:13 2015 -0800
libide: try to stay as close to line start as we can
libide/ide-source-view-movements.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libide/ide-source-view-movements.c b/libide/ide-source-view-movements.c
index f8d5885..82800e5 100644
--- a/libide/ide-source-view-movements.c
+++ b/libide/ide-source-view-movements.c
@@ -608,15 +608,15 @@ ide_source_view_movements_scroll_center (IdeSourceView *self,
switch ((int)movement)
{
case IDE_SOURCE_VIEW_MOVEMENT_SCROLL_SCREEN_BOTTOM:
- gtk_text_view_scroll_to_iter (text_view, &insert, 0.0, TRUE, 0.0, 1.0);
+ gtk_text_view_scroll_to_iter (text_view, &insert, 0.0, TRUE, 1.0, 1.0);
break;
case IDE_SOURCE_VIEW_MOVEMENT_SCROLL_SCREEN_TOP:
- gtk_text_view_scroll_to_iter (text_view, &insert, 0.0, TRUE, 0.0, 0.0);
+ gtk_text_view_scroll_to_iter (text_view, &insert, 0.0, TRUE, 1.0, 0.0);
break;
case IDE_SOURCE_VIEW_MOVEMENT_SCROLL_SCREEN_CENTER:
- gtk_text_view_scroll_to_iter (text_view, &insert, 0.0, TRUE, 0.0, 0.5);
+ gtk_text_view_scroll_to_iter (text_view, &insert, 0.0, TRUE, 1.0, 0.5);
break;
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]