|
Karsten Hopp |
8648c6 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
8648c6 |
Subject: patch 7.1.132
|
|
Karsten Hopp |
8648c6 |
Fcc: outbox
|
|
Karsten Hopp |
8648c6 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
8648c6 |
Mime-Version: 1.0
|
|
Karsten Hopp |
8648c6 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
8648c6 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
8648c6 |
------------
|
|
Karsten Hopp |
8648c6 |
|
|
Karsten Hopp |
8648c6 |
Patch 7.1.132
|
|
Karsten Hopp |
8648c6 |
Problem: getpos("'>") may return a negative column number for a Linewise
|
|
Karsten Hopp |
8648c6 |
selection. (A.Politz)
|
|
Karsten Hopp |
8648c6 |
Solution: Don't add one to MAXCOL.
|
|
Karsten Hopp |
8648c6 |
Files: src/eval.c
|
|
Karsten Hopp |
8648c6 |
|
|
Karsten Hopp |
8648c6 |
|
|
Karsten Hopp |
8648c6 |
*** ../vim-7.1.131/src/eval.c Tue Sep 25 20:39:14 2007
|
|
Karsten Hopp |
8648c6 |
--- src/eval.c Mon Oct 1 20:56:09 2007
|
|
Karsten Hopp |
8648c6 |
***************
|
|
Karsten Hopp |
8648c6 |
*** 10388,10394 ****
|
|
Karsten Hopp |
8648c6 |
list_append_number(l, (varnumber_T)0);
|
|
Karsten Hopp |
8648c6 |
list_append_number(l, (fp != NULL) ? (varnumber_T)fp->lnum
|
|
Karsten Hopp |
8648c6 |
: (varnumber_T)0);
|
|
Karsten Hopp |
8648c6 |
! list_append_number(l, (fp != NULL) ? (varnumber_T)fp->col + 1
|
|
Karsten Hopp |
8648c6 |
: (varnumber_T)0);
|
|
Karsten Hopp |
8648c6 |
list_append_number(l,
|
|
Karsten Hopp |
8648c6 |
#ifdef FEAT_VIRTUALEDIT
|
|
Karsten Hopp |
8648c6 |
--- 10388,10395 ----
|
|
Karsten Hopp |
8648c6 |
list_append_number(l, (varnumber_T)0);
|
|
Karsten Hopp |
8648c6 |
list_append_number(l, (fp != NULL) ? (varnumber_T)fp->lnum
|
|
Karsten Hopp |
8648c6 |
: (varnumber_T)0);
|
|
Karsten Hopp |
8648c6 |
! list_append_number(l, (fp != NULL)
|
|
Karsten Hopp |
8648c6 |
! ? (varnumber_T)(fp->col == MAXCOL ? MAXCOL : fp->col + 1)
|
|
Karsten Hopp |
8648c6 |
: (varnumber_T)0);
|
|
Karsten Hopp |
8648c6 |
list_append_number(l,
|
|
Karsten Hopp |
8648c6 |
#ifdef FEAT_VIRTUALEDIT
|
|
Karsten Hopp |
8648c6 |
*** ../vim-7.1.131/src/version.c Tue Oct 2 20:40:01 2007
|
|
Karsten Hopp |
8648c6 |
--- src/version.c Tue Oct 2 22:07:17 2007
|
|
Karsten Hopp |
8648c6 |
***************
|
|
Karsten Hopp |
8648c6 |
*** 668,669 ****
|
|
Karsten Hopp |
8648c6 |
--- 668,671 ----
|
|
Karsten Hopp |
8648c6 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
8648c6 |
+ /**/
|
|
Karsten Hopp |
8648c6 |
+ 132,
|
|
Karsten Hopp |
8648c6 |
/**/
|
|
Karsten Hopp |
8648c6 |
|
|
Karsten Hopp |
8648c6 |
--
|
|
Karsten Hopp |
8648c6 |
"The future's already arrived - it's just not evenly distributed yet."
|
|
Karsten Hopp |
8648c6 |
-- William Gibson
|
|
Karsten Hopp |
8648c6 |
|
|
Karsten Hopp |
8648c6 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
8648c6 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
8648c6 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
8648c6 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|