]>
Commit | Line | Data |
---|---|---|
c7a9d944 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.4.004 | |
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.4.004 | |
11 | Problem: "go" does not work correctly in combination with 'virtualedit'. | |
12 | (Alojz Motesicky) | |
13 | Solution: Reset the "coladd" field. | |
14 | Files: src/memline.c | |
15 | ||
16 | ||
17 | *** ../vim-6.4.003/src/memline.c Thu Feb 17 11:02:53 2005 | |
18 | --- src/memline.c Thu Dec 1 16:07:04 2005 | |
19 | *************** | |
20 | *** 4368,4373 **** | |
21 | --- 4368,4376 ---- | |
22 | { | |
23 | curwin->w_cursor.lnum = lnum; | |
24 | curwin->w_cursor.col = (colnr_T)boff; | |
25 | + # ifdef FEAT_VIRTUALEDIT | |
26 | + curwin->w_cursor.coladd = 0; | |
27 | + # endif | |
28 | curwin->w_set_curswant = TRUE; | |
29 | } | |
30 | check_cursor(); | |
31 | *** ../vim-6.4.003/src/version.c Wed Nov 30 12:38:32 2005 | |
32 | --- src/version.c Thu Dec 1 16:07:55 2005 | |
33 | *************** | |
34 | *** 643,644 **** | |
35 | --- 643,646 ---- | |
36 | { /* Add new patch number below this line */ | |
37 | + /**/ | |
38 | + 4, | |
39 | /**/ | |
40 | ||
41 | -- | |
42 | Bravely bold Sir Robin, rode forth from Camelot, | |
43 | He was not afraid to die, Oh Brave Sir Robin, | |
44 | He was not at all afraid to be killed in nasty ways | |
45 | Brave, brave, brave, brave Sir Robin. | |
46 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
47 | ||
48 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
49 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
50 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
51 | \\\ help me help AIDS victims -- http://www.ICCF.nl /// |