lkundrak / rpms / vim

Forked from rpms/vim 4 years ago
Clone
65ccf3b
To: vim_dev@googlegroups.com
65ccf3b
Subject: Patch 7.3.214
65ccf3b
Fcc: outbox
65ccf3b
From: Bram Moolenaar <Bram@moolenaar.net>
65ccf3b
Mime-Version: 1.0
65ccf3b
Content-Type: text/plain; charset=UTF-8
65ccf3b
Content-Transfer-Encoding: 8bit
65ccf3b
------------
65ccf3b
65ccf3b
Patch 7.3.214
65ccf3b
Problem:    The text displayed by ":z-" isn't exactly like old Vi.
65ccf3b
Solution:   Add one to the start line number. (ChangZhuo Chen)
65ccf3b
Files:      src/ex_cmds.c
65ccf3b
65ccf3b
65ccf3b
*** ../mercurial/vim73/src/ex_cmds.c	2011-05-19 14:30:07.000000000 +0200
65ccf3b
--- src/ex_cmds.c	2011-05-19 14:23:33.000000000 +0200
65ccf3b
***************
65ccf3b
*** 4097,4104 ****
65ccf3b
      switch (*kind)
65ccf3b
      {
65ccf3b
  	case '-':
65ccf3b
! 	    start = lnum - bigness * (linenr_T)(x - kind);
65ccf3b
! 	    end = start + bigness;
65ccf3b
  	    curs = end;
65ccf3b
  	    break;
65ccf3b
  
65ccf3b
--- 4097,4104 ----
65ccf3b
      switch (*kind)
65ccf3b
      {
65ccf3b
  	case '-':
65ccf3b
! 	    start = lnum - bigness * (linenr_T)(x - kind) + 1;
65ccf3b
! 	    end = start + bigness - 1;
65ccf3b
  	    curs = end;
65ccf3b
  	    break;
65ccf3b
  
65ccf3b
*** ../vim-7.3.213/src/version.c	2011-06-12 21:51:01.000000000 +0200
65ccf3b
--- src/version.c	2011-06-12 22:02:20.000000000 +0200
65ccf3b
***************
65ccf3b
*** 711,712 ****
65ccf3b
--- 711,714 ----
65ccf3b
  {   /* Add new patch number below this line */
65ccf3b
+ /**/
65ccf3b
+     214,
65ccf3b
  /**/
65ccf3b
65ccf3b
-- 
65ccf3b
hundred-and-one symptoms of being an internet addict:
65ccf3b
170. You introduce your wife as "my_lady@home.wife" and refer to your
65ccf3b
     children as "forked processes."
65ccf3b
65ccf3b
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
65ccf3b
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
65ccf3b
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
65ccf3b
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///