]>
Commit | Line | Data |
---|---|---|
05b5d6bc AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.360 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 6.2.360 | |
11 | Problem: "100|" in an empty line results in a ruler "1,0-100". (Pavol | |
12 | Juhas) | |
13 | Solution: Recompute w_virtcol if the target column was not reached. | |
14 | Files: src/misc2.c | |
15 | ||
16 | ||
17 | *** ../vim-6.2.359/src/misc2.c Mon Feb 2 13:00:19 2004 | |
18 | --- src/misc2.c Sun Mar 14 11:45:50 2004 | |
19 | *************** | |
20 | *** 105,111 **** | |
21 | { | |
22 | int rc = getvpos(&curwin->w_cursor, wcol); | |
23 | ||
24 | ! if (wcol == MAXCOL) | |
25 | curwin->w_valid &= ~VALID_VIRTCOL; | |
26 | else | |
27 | { | |
28 | --- 105,111 ---- | |
29 | { | |
30 | int rc = getvpos(&curwin->w_cursor, wcol); | |
31 | ||
32 | ! if (wcol == MAXCOL || rc == FAIL) | |
33 | curwin->w_valid &= ~VALID_VIRTCOL; | |
34 | else | |
35 | { | |
36 | *** ../vim-6.2.359/src/version.c Mon Mar 15 12:33:19 2004 | |
37 | --- src/version.c Mon Mar 15 12:43:08 2004 | |
38 | *************** | |
39 | *** 639,640 **** | |
40 | --- 639,642 ---- | |
41 | { /* Add new patch number below this line */ | |
42 | + /**/ | |
43 | + 360, | |
44 | /**/ | |
45 | ||
46 | -- | |
47 | I'm not familiar with this proof, but I'm aware of a significant | |
48 | following of toddlers who believe that peanut butter is the solution | |
49 | to all of life's problems... -- Tim Hammerquist | |
50 | ||
51 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
52 | /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
53 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
54 | \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html /// |