]>
Commit | Line | Data |
---|---|---|
aae1a9d1 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.3.017 | |
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.3.017 | |
11 | Problem: "8zz" may leave the cursor beyond the end of the line. (Niko | |
12 | Maatjes) | |
13 | Solution: Correct the cursor column after moving to another line. | |
14 | Files: src/normal.c | |
15 | ||
16 | ||
17 | *** ../vim-6.3.016/src/normal.c Wed Jun 9 14:56:27 2004 | |
18 | --- src/normal.c Fri Aug 27 21:09:31 2004 | |
19 | *************** | |
20 | *** 4343,4348 **** | |
21 | --- 4343,4349 ---- | |
22 | curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count; | |
23 | else | |
24 | curwin->w_cursor.lnum = cap->count0; | |
25 | + check_cursor_col(); | |
26 | } | |
27 | ||
28 | switch (nchar) | |
29 | *** ../vim-6.3.016/src/version.c Thu Aug 26 16:01:15 2004 | |
30 | --- src/version.c Fri Aug 27 21:13:21 2004 | |
31 | *************** | |
32 | *** 643,644 **** | |
33 | --- 643,646 ---- | |
34 | { /* Add new patch number below this line */ | |
35 | + /**/ | |
36 | + 17, | |
37 | /**/ | |
38 | ||
39 | -- | |
40 | hundred-and-one symptoms of being an internet addict: | |
41 | 183. You move your coffeemaker next to your computer. | |
42 | ||
43 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
44 | /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
45 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
46 | \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html /// |