]>
Commit | Line | Data |
---|---|---|
a2e11672 AG |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.214 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.214 | |
11 | Problem: The text displayed by ":z-" isn't exactly like old Vi. | |
12 | Solution: Add one to the start line number. (ChangZhuo Chen) | |
13 | Files: src/ex_cmds.c | |
14 | ||
15 | ||
16 | *** ../mercurial/vim73/src/ex_cmds.c 2011-05-19 14:30:07.000000000 +0200 | |
17 | --- src/ex_cmds.c 2011-05-19 14:23:33.000000000 +0200 | |
18 | *************** | |
19 | *** 4097,4104 **** | |
20 | switch (*kind) | |
21 | { | |
22 | case '-': | |
23 | ! start = lnum - bigness * (linenr_T)(x - kind); | |
24 | ! end = start + bigness; | |
25 | curs = end; | |
26 | break; | |
27 | ||
28 | --- 4097,4104 ---- | |
29 | switch (*kind) | |
30 | { | |
31 | case '-': | |
32 | ! start = lnum - bigness * (linenr_T)(x - kind) + 1; | |
33 | ! end = start + bigness - 1; | |
34 | curs = end; | |
35 | break; | |
36 | ||
37 | *** ../vim-7.3.213/src/version.c 2011-06-12 21:51:01.000000000 +0200 | |
38 | --- src/version.c 2011-06-12 22:02:20.000000000 +0200 | |
39 | *************** | |
40 | *** 711,712 **** | |
41 | --- 711,714 ---- | |
42 | { /* Add new patch number below this line */ | |
43 | + /**/ | |
44 | + 214, | |
45 | /**/ | |
46 | ||
47 | -- | |
48 | hundred-and-one symptoms of being an internet addict: | |
49 | 170. You introduce your wife as "my_lady@home.wife" and refer to your | |
50 | children as "forked processes." | |
51 | ||
52 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
53 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
54 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
55 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |