]> git.pld-linux.org Git - packages/vim.git/blob - 7.3.473
- up to 7.3.600
[packages/vim.git] / 7.3.473
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.473
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.473
11 Problem:    'cursorbind' does not work correctly in combination with
12             'virtualedit' set to "all".
13 Solution:   Copy coladd. (Gary Johnson)
14 Files:      src/move.c
15
16
17 *** ../vim-7.3.472/src/move.c   2012-02-04 23:34:57.000000000 +0100
18 --- src/move.c  2012-03-16 19:20:57.000000000 +0100
19 ***************
20 *** 2843,2849 ****
21   do_check_cursorbind()
22   {
23       linenr_T  line = curwin->w_cursor.lnum;
24 !     colnr_T   col =  curwin->w_cursor.col;
25       win_T     *old_curwin = curwin;
26       buf_T     *old_curbuf = curbuf;
27       int               restart_edit_save;
28 --- 2843,2852 ----
29   do_check_cursorbind()
30   {
31       linenr_T  line = curwin->w_cursor.lnum;
32 !     colnr_T   col = curwin->w_cursor.col;
33 ! # ifdef FEAT_VIRTUALEDIT
34 !     colnr_T   coladd = curwin->w_cursor.coladd;
35 ! # endif
36       win_T     *old_curwin = curwin;
37       buf_T     *old_curbuf = curbuf;
38       int               restart_edit_save;
39 ***************
40 *** 2875,2880 ****
41 --- 2878,2886 ----
42   # endif
43                 curwin->w_cursor.lnum = line;
44             curwin->w_cursor.col = col;
45 + # ifdef FEAT_VIRTUALEDIT
46 +           curwin->w_cursor.coladd = coladd;
47 + # endif
48   
49             /* Make sure the cursor is in a valid position.  Temporarily set
50              * "restart_edit" to allow the cursor to be beyond the EOL. */
51 *** ../vim-7.3.472/src/version.c        2012-03-16 19:07:54.000000000 +0100
52 --- src/version.c       2012-03-16 19:24:06.000000000 +0100
53 ***************
54 *** 716,717 ****
55 --- 716,719 ----
56   {   /* Add new patch number below this line */
57 + /**/
58 +     473,
59   /**/
60
61 -- 
62 hundred-and-one symptoms of being an internet addict:
63 201. When somebody asks you where you are, you tell them in which chat room.
64
65  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
66 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
67 \\\  an exciting new programming language -- http://www.Zimbu.org        ///
68  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.024048 seconds and 3 git commands to generate.