]> git.pld-linux.org Git - packages/vim.git/blame - 7.0.041
- updated to 0.7.3
[packages/vim.git] / 7.0.041
CommitLineData
7a7a4b06 1To: vim-dev@vim.org
2Subject: Patch 7.0.041
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.0.041
11Problem: cursor([1, 1]) doesn't work. (Peter Hodge)
12Solution: Allow leaving out the third item of the list and use zero for the
13 virtual column offset.
14Files: src/eval.c
15
16
17*** ../vim-7.0.040/src/eval.c Sun Jul 23 21:52:16 2006
18--- src/eval.c Mon Jul 10 23:03:13 2006
19***************
20*** 16465,16473 ****
21 long i = 0;
22 long n;
23
24! /* List must be: [fnum, lnum, col, coladd] */
25! if (arg->v_type != VAR_LIST || l == NULL
26! || l->lv_len != (fnump == NULL ? 3 : 4))
27 return FAIL;
28
29 if (fnump != NULL)
30--- 16465,16476 ----
31 long i = 0;
32 long n;
33
34! /* List must be: [fnum, lnum, col, coladd], where "fnum" is only there
35! * when "fnump" isn't NULL and "coladd" is optional. */
36! if (arg->v_type != VAR_LIST
37! || l == NULL
38! || l->lv_len < (fnump == NULL ? 2 : 3)
39! || l->lv_len > (fnump == NULL ? 3 : 4))
40 return FAIL;
41
42 if (fnump != NULL)
43***************
44*** 16493,16500 ****
45 #ifdef FEAT_VIRTUALEDIT
46 n = list_find_nr(l, i, NULL);
47 if (n < 0)
48! return FAIL;
49! posp->coladd = n;
50 #endif
51
52 return OK;
53--- 16496,16504 ----
54 #ifdef FEAT_VIRTUALEDIT
55 n = list_find_nr(l, i, NULL);
56 if (n < 0)
57! posp->coladd = 0;
58! else
59! posp->coladd = n;
60 #endif
61
62 return OK;
63*** ../vim-7.0.040/src/version.c Sun Jul 23 21:52:16 2006
64--- src/version.c Sun Jul 23 21:59:43 2006
65***************
66*** 668,669 ****
67--- 668,671 ----
68 { /* Add new patch number below this line */
69+ /**/
70+ 41,
71 /**/
72
73--
74hundred-and-one symptoms of being an internet addict:
7543. You tell the kids they can't use the computer because "Daddy's got work to
76 do" and you don't even have a job.
77
78 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
79/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
80\\\ download, build and distribute -- http://www.A-A-P.org ///
81 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.029794 seconds and 4 git commands to generate.