[gnome-builder] vim: fix :line command
- From: Sébastien Lafargue <slafargue src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: fix :line command
- Date: Tue, 15 Dec 2015 19:45:46 +0000 (UTC)
commit 8ed04a1f0b192fc9b7d39a4c91322c928af2bbfa
Author: heroin <misko herko gmail com>
Date: Mon Dec 14 22:09:03 2015 +0100
vim: fix :line command
https://bugzilla.gnome.org/show_bug.cgi?id=759482
plugins/command-bar/gb-vim.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/command-bar/gb-vim.c b/plugins/command-bar/gb-vim.c
index 2fd759b..28741d2 100644
--- a/plugins/command-bar/gb-vim.c
+++ b/plugins/command-bar/gb-vim.c
@@ -646,6 +646,8 @@ gb_vim_jump_to_line (GtkSourceView *source_view,
IDE_SOURCE_VIEW_MOVEMENT_NTH_LINE,
extend_selection, TRUE, TRUE);
+ ide_source_view_set_count (IDE_SOURCE_VIEW (source_view), 0);
+
g_signal_emit_by_name (source_view, "save-insert-mark");
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]