4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: getpos("'>") may return a negative column number for a Linewise
13 Solution: Don't add one to MAXCOL.
17 *** ../vim-7.1.131/src/eval.c Tue Sep 25 20:39:14 2007
18 --- src/eval.c Mon Oct 1 20:56:09 2007
21 list_append_number(l, (varnumber_T)0);
22 list_append_number(l, (fp != NULL) ? (varnumber_T)fp->lnum
24 ! list_append_number(l, (fp != NULL) ? (varnumber_T)fp->col + 1
27 #ifdef FEAT_VIRTUALEDIT
29 list_append_number(l, (varnumber_T)0);
30 list_append_number(l, (fp != NULL) ? (varnumber_T)fp->lnum
32 ! list_append_number(l, (fp != NULL)
33 ! ? (varnumber_T)(fp->col == MAXCOL ? MAXCOL : fp->col + 1)
36 #ifdef FEAT_VIRTUALEDIT
37 *** ../vim-7.1.131/src/version.c Tue Oct 2 20:40:01 2007
38 --- src/version.c Tue Oct 2 22:07:17 2007
42 { /* Add new patch number below this line */
48 "The future's already arrived - it's just not evenly distributed yet."
51 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
52 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53 \\\ download, build and distribute -- http://www.A-A-P.org ///
54 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///