[vim] - patchlevel 106

Karsten Hopp karsten at fedoraproject.org
Mon Jan 24 11:15:53 UTC 2011


commit f5824df7aafbc39d1b8c1ef76bdf7022bf83adab
Author: Karsten Hopp <karsten at redhat.com>
Date:   Mon Jan 24 12:14:41 2011 +0100

    - patchlevel 106

 7.3.106 |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/7.3.106 b/7.3.106
new file mode 100644
index 0000000..f98df30
--- /dev/null
+++ b/7.3.106
@@ -0,0 +1,58 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.106
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.106
+Problem:    When 'cursorbind' is set another window may scroll unexpectedly
+            when 'scrollbind' is also set. (Xavier Wang)
+Solution:   Don't call update_topline() if 'scrollbind' is set.
+Files:      src/move.c
+
+
+*** ../vim-7.3.105/src/move.c	2010-08-15 21:57:29.000000000 +0200
+--- src/move.c	2011-01-22 20:58:50.000000000 +0100
+***************
+*** 2882,2890 ****
+  	    if (has_mbyte)
+  		mb_adjust_cursor();
+  # endif
+- 
+  	    redraw_later(VALID);
+! 	    update_topline();
+  # ifdef FEAT_WINDOWS
+  	    curwin->w_redr_status = TRUE;
+  # endif
+--- 2882,2892 ----
+  	    if (has_mbyte)
+  		mb_adjust_cursor();
+  # endif
+  	    redraw_later(VALID);
+! 
+! 	    /* Only scroll when 'scrollbind' hasn't done this. */
+! 	    if (!curwin->w_p_scb)
+! 		update_topline();
+  # ifdef FEAT_WINDOWS
+  	    curwin->w_redr_status = TRUE;
+  # endif
+*** ../vim-7.3.105/src/version.c	2011-01-22 01:13:33.000000000 +0100
+--- src/version.c	2011-01-22 21:03:21.000000000 +0100
+***************
+*** 716,717 ****
+--- 716,719 ----
+  {   /* Add new patch number below this line */
++ /**/
++     106,
+  /**/
+
+-- 
+Never eat yellow snow.
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\  an exciting new programming language -- http://www.Zimbu.org        ///
+ \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


More information about the scm-commits mailing list