]>
Commit | Line | Data |
---|---|---|
9512a71a AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.118 | |
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.2.118 | |
11 | Problem: <PageUp> at the more prompt only does half a page. | |
12 | Solution: Make <PageUp> go up a whole page. Also make 'f' go a page | |
13 | forward, but not quit the more prompt. (Markus Heidelberg) | |
14 | Files: src/message.c | |
15 | ||
16 | ||
17 | *** ../vim-7.2.117/src/message.c Wed Feb 11 18:46:48 2009 | |
18 | --- src/message.c Fri Feb 20 05:20:15 2009 | |
19 | *************** | |
20 | *** 976,982 **** | |
21 | } | |
22 | } | |
23 | else if (msg_scrolled > Rows - 2 | |
24 | ! && (c == 'j' || c == K_DOWN || c == 'd')) | |
25 | c = K_IGNORE; | |
26 | } | |
27 | } while ((had_got_int && c == Ctrl_C) | |
28 | --- 976,982 ---- | |
29 | } | |
30 | } | |
31 | else if (msg_scrolled > Rows - 2 | |
32 | ! && (c == 'j' || c == K_DOWN || c == 'd' || c == 'f')) | |
33 | c = K_IGNORE; | |
34 | } | |
35 | } while ((had_got_int && c == Ctrl_C) | |
36 | *************** | |
37 | *** 2504,2510 **** | |
38 | break; | |
39 | ||
40 | case 'u': /* Up half a page */ | |
41 | - case K_PAGEUP: | |
42 | scroll = -(Rows / 2); | |
43 | break; | |
44 | ||
45 | --- 2504,2509 ---- | |
46 | *************** | |
47 | *** 2513,2522 **** | |
48 | --- 2512,2523 ---- | |
49 | break; | |
50 | ||
51 | case 'b': /* one page back */ | |
52 | + case K_PAGEUP: | |
53 | scroll = -(Rows - 1); | |
54 | break; | |
55 | ||
56 | case ' ': /* one extra page */ | |
57 | + case 'f': | |
58 | case K_PAGEDOWN: | |
59 | case K_LEFTMOUSE: | |
60 | scroll = Rows - 1; | |
61 | *** ../vim-7.2.117/src/version.c Sun Feb 22 00:01:42 2009 | |
62 | --- src/version.c Sun Feb 22 00:57:16 2009 | |
63 | *************** | |
64 | *** 678,679 **** | |
65 | --- 678,681 ---- | |
66 | { /* Add new patch number below this line */ | |
67 | + /**/ | |
68 | + 118, | |
69 | /**/ | |
70 | ||
71 | -- | |
72 | hundred-and-one symptoms of being an internet addict: | |
73 | 109. You actually read -- and enjoy -- lists like this. | |
74 | ||
75 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
76 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
77 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
78 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |