]>
Commit | Line | Data |
---|---|---|
dbf7c229 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.075 | |
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 7.0.075 | |
11 | Problem: winsaveview() did not store the actual value of the desired cursor | |
12 | column. This could move the cursor in the matchparen plugin. | |
13 | Solution: Call update_curswant() before using the value w_curswant. | |
14 | Files: src/eval.c | |
15 | ||
16 | ||
17 | *** ../vim-7.0.074/src/eval.c Tue Aug 29 17:28:56 2006 | |
18 | --- src/eval.c Tue Aug 29 21:53:26 2006 | |
19 | *************** | |
20 | *** 16232,16237 **** | |
21 | --- 16232,16238 ---- | |
22 | #ifdef FEAT_VIRTUALEDIT | |
23 | dict_add_nr_str(dict, "coladd", (long)curwin->w_cursor.coladd, NULL); | |
24 | #endif | |
25 | + update_curswant(); | |
26 | dict_add_nr_str(dict, "curswant", (long)curwin->w_curswant, NULL); | |
27 | ||
28 | dict_add_nr_str(dict, "topline", (long)curwin->w_topline, NULL); | |
29 | *** ../vim-7.0.074/src/version.c Tue Aug 29 21:30:15 2006 | |
30 | --- src/version.c Tue Aug 29 21:57:03 2006 | |
31 | *************** | |
32 | *** 668,669 **** | |
33 | --- 668,671 ---- | |
34 | { /* Add new patch number below this line */ | |
35 | + /**/ | |
36 | + 75, | |
37 | /**/ | |
38 | ||
39 | -- | |
40 | Women are probably the main cause of free software starvation. | |
41 | ||
42 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
43 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
44 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
45 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |