[gnome-builder] vim: remove unnecessary call to gb_source_vim_ensure_scroll()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] vim: remove unnecessary call to gb_source_vim_ensure_scroll()
- Date: Wed, 21 Jan 2015 00:33:39 +0000 (UTC)
commit e9fda2ad0229e81a50526580f4bed2c6eb568b42
Author: Christian Hergert <christian hergert me>
Date: Tue Jan 20 16:31:05 2015 -0800
vim: remove unnecessary call to gb_source_vim_ensure_scroll()
I don't think these are necessary. Strictly speaking, they might if you use
the mouse to scroll and then hit escape while in a selection, but that
doesn't bother me as much as it being off for line jumps.
https://bugzilla.gnome.org/show_bug.cgi?id=742855
src/vim/gb-source-vim.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/vim/gb-source-vim.c b/src/vim/gb-source-vim.c
index 9b52531..95ecf56 100644
--- a/src/vim/gb-source-vim.c
+++ b/src/vim/gb-source-vim.c
@@ -554,8 +554,6 @@ gb_source_vim_clear_selection (GbSourceVim *vim)
}
vim->priv->target_line_offset = gb_source_vim_get_line_offset (vim);
-
- gb_source_vim_ensure_scroll (vim);
}
GbSourceVimMode
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]