]>
Commit | Line | Data |
---|---|---|
f3c378e8 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.139 | |
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.139 | |
11 | Problem: Using CTRL-PageUp or CTRL-PageDown in Insert mode to go to another | |
12 | tab page does not prepare for undo properly. (Stefano Zacchiroli) | |
13 | Solution: Call start_arrow() before switching tab page. | |
14 | Files: src/edit.c | |
15 | ||
16 | ||
17 | *** ../vim-7.0.138/src/edit.c Sat Oct 14 14:33:21 2006 | |
18 | --- src/edit.c Mon Oct 16 21:28:05 2006 | |
19 | *************** | |
20 | *** 8822,8828 **** | |
21 | if (mod_mask & MOD_MASK_CTRL) | |
22 | { | |
23 | /* <C-PageUp>: tab page back */ | |
24 | ! goto_tabpage(-1); | |
25 | return; | |
26 | } | |
27 | #endif | |
28 | --- 8822,8832 ---- | |
29 | if (mod_mask & MOD_MASK_CTRL) | |
30 | { | |
31 | /* <C-PageUp>: tab page back */ | |
32 | ! if (first_tabpage->tp_next != NULL) | |
33 | ! { | |
34 | ! start_arrow(&curwin->w_cursor); | |
35 | ! goto_tabpage(-1); | |
36 | ! } | |
37 | return; | |
38 | } | |
39 | #endif | |
40 | *************** | |
41 | *** 8881,8887 **** | |
42 | if (mod_mask & MOD_MASK_CTRL) | |
43 | { | |
44 | /* <C-PageDown>: tab page forward */ | |
45 | ! goto_tabpage(0); | |
46 | return; | |
47 | } | |
48 | #endif | |
49 | --- 8885,8895 ---- | |
50 | if (mod_mask & MOD_MASK_CTRL) | |
51 | { | |
52 | /* <C-PageDown>: tab page forward */ | |
53 | ! if (first_tabpage->tp_next != NULL) | |
54 | ! { | |
55 | ! start_arrow(&curwin->w_cursor); | |
56 | ! goto_tabpage(0); | |
57 | ! } | |
58 | return; | |
59 | } | |
60 | #endif | |
61 | *** ../vim-7.0.138/src/version.c Tue Oct 17 12:53:31 2006 | |
62 | --- src/version.c Tue Oct 17 13:38:27 2006 | |
63 | *************** | |
64 | *** 668,669 **** | |
65 | --- 668,671 ---- | |
66 | { /* Add new patch number below this line */ | |
67 | + /**/ | |
68 | + 139, | |
69 | /**/ | |
70 | ||
71 | -- | |
72 | hundred-and-one symptoms of being an internet addict: | |
73 | 53. To find out what time it is, you send yourself an e-mail and check the | |
74 | "Date:" field. | |
75 | ||
76 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
77 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
78 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
79 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |