]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.106
- new
[packages/vim.git] / 7.3.106
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.106
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.106
11 Problem:    When 'cursorbind' is set another window may scroll unexpectedly
12             when 'scrollbind' is also set. (Xavier Wang)
13 Solution:   Don't call update_topline() if 'scrollbind' is set.
14 Files:      src/move.c
15
16
17 *** ../vim-7.3.105/src/move.c   2010-08-15 21:57:29.000000000 +0200
18 --- src/move.c  2011-01-22 20:58:50.000000000 +0100
19 ***************
20 *** 2882,2890 ****
21             if (has_mbyte)
22                 mb_adjust_cursor();
23   # endif
24
25             redraw_later(VALID);
26 !           update_topline();
27   # ifdef FEAT_WINDOWS
28             curwin->w_redr_status = TRUE;
29   # endif
30 --- 2882,2892 ----
31             if (has_mbyte)
32                 mb_adjust_cursor();
33   # endif
34             redraw_later(VALID);
35
36 !           /* Only scroll when 'scrollbind' hasn't done this. */
37 !           if (!curwin->w_p_scb)
38 !               update_topline();
39   # ifdef FEAT_WINDOWS
40             curwin->w_redr_status = TRUE;
41   # endif
42 *** ../vim-7.3.105/src/version.c        2011-01-22 01:13:33.000000000 +0100
43 --- src/version.c       2011-01-22 21:03:21.000000000 +0100
44 ***************
45 *** 716,717 ****
46 --- 716,719 ----
47   {   /* Add new patch number below this line */
48 + /**/
49 +     106,
50   /**/
51
52 -- 
53 Never eat yellow snow.
54
55  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
56 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
57 \\\  an exciting new programming language -- http://www.Zimbu.org        ///
58  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.039256 seconds and 3 git commands to generate.