summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.3.214
blob: a095bbc4349a82b0b258240214a6337ea607f6a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
To: vim_dev@googlegroups.com
Subject: Patch 7.3.214
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.3.214
Problem:    The text displayed by ":z-" isn't exactly like old Vi.
Solution:   Add one to the start line number. (ChangZhuo Chen)
Files:      src/ex_cmds.c


*** ../mercurial/vim73/src/ex_cmds.c	2011-05-19 14:30:07.000000000 +0200
--- src/ex_cmds.c	2011-05-19 14:23:33.000000000 +0200
***************
*** 4097,4104 ****
      switch (*kind)
      {
  	case '-':
! 	    start = lnum - bigness * (linenr_T)(x - kind);
! 	    end = start + bigness;
  	    curs = end;
  	    break;
  
--- 4097,4104 ----
      switch (*kind)
      {
  	case '-':
! 	    start = lnum - bigness * (linenr_T)(x - kind) + 1;
! 	    end = start + bigness - 1;
  	    curs = end;
  	    break;
  
*** ../vim-7.3.213/src/version.c	2011-06-12 21:51:01.000000000 +0200
--- src/version.c	2011-06-12 22:02:20.000000000 +0200
***************
*** 711,712 ****
--- 711,714 ----
  {   /* Add new patch number below this line */
+ /**/
+     214,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
170. You introduce your wife as "my_lady@home.wife" and refer to your
     children as "forked processes."

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///