[gnome-builder] vim: fix gg movement
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: fix gg movement
- Date: Mon, 30 Nov 2015 17:39:31 +0000 (UTC)
commit aefd6538c6110a36c710638d00495bf374a75101
Author: heroin <misko herko gmail com>
Date: Mon Nov 30 10:48:32 2015 +0100
vim: fix gg movement
https://bugzilla.gnome.org/show_bug.cgi?id=758828
libide/ide-source-view-movements.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libide/ide-source-view-movements.c b/libide/ide-source-view-movements.c
index bca554d..a4de6fb 100644
--- a/libide/ide-source-view-movements.c
+++ b/libide/ide-source-view-movements.c
@@ -449,7 +449,7 @@ ide_source_view_movements_last_char (Movement *mv)
static void
ide_source_view_movements_first_line (Movement *mv)
{
- gtk_text_iter_set_line (&mv->insert, mv->count);
+ gtk_text_iter_set_line (&mv->insert, 0);
gtk_text_iter_set_line_offset (&mv->insert, 0);
}
@@ -2073,7 +2073,6 @@ _ide_source_view_apply_movement (IdeSourceView *self,
break;
case IDE_SOURCE_VIEW_MOVEMENT_FIRST_LINE:
- mv.count = MAX (1, mv.count);
ide_source_view_movements_first_line (&mv);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]