]>
Commit | Line | Data |
---|---|---|
468bf62c AM |
1 | To: vim-dev@vim.org |
2 | Subject: patch 7.0.215 (extra) | |
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.215 (extra) | |
11 | Problem: Mac: Scrollbar size isn't set. Context menu has disabled useless | |
12 | Help entry. Call to MoreMasterPointers() is ignored. | |
13 | Solution: Call SetControlViewSize() in gui_mch_set_scrollbar_thumb(). Use | |
14 | kCMHelpItemRemoveHelp for ContextualMenuSelect(). Remove call to | |
15 | MoreMasterPointers(). (Nicolas Weber) | |
16 | Files: src/gui_mac.c | |
17 | ||
18 | ||
19 | *** ../vim-7.0.214/src/gui_mac.c Tue Oct 17 12:53:31 2006 | |
20 | --- src/gui_mac.c Thu Mar 8 16:44:31 2007 | |
21 | *************** | |
22 | *** 2800,2808 **** | |
23 | # endif | |
24 | #endif | |
25 | ||
26 | - /* Why did I put that in? (Dany) */ | |
27 | - MoreMasterPointers (0x40 * 3); /* we love handles */ | |
28 | - | |
29 | #if 0 | |
30 | InitCursor(); | |
31 | ||
32 | --- 2800,2805 ---- | |
33 | *************** | |
34 | *** 4966,4971 **** | |
35 | --- 4963,4969 ---- | |
36 | SetControl32BitMaximum (sb->id, max); | |
37 | SetControl32BitMinimum (sb->id, 0); | |
38 | SetControl32BitValue (sb->id, val); | |
39 | + SetControlViewSize (sb->id, size); | |
40 | #ifdef DEBUG_MAC_SB | |
41 | printf("thumb_sb (%x) %x, %x,%x\n",sb->id, val, size, max); | |
42 | #endif | |
43 | *************** | |
44 | *** 5727,5733 **** | |
45 | /* TODO: Get the text selection from Vim */ | |
46 | ||
47 | /* Call to Handle Popup */ | |
48 | ! status = ContextualMenuSelect(CntxMenu, where, false, kCMHelpItemNoHelp, | |
49 | HelpName, NULL, &CntxType, &CntxMenuID, &CntxMenuItem); | |
50 | ||
51 | if (status == noErr) | |
52 | --- 5725,5731 ---- | |
53 | /* TODO: Get the text selection from Vim */ | |
54 | ||
55 | /* Call to Handle Popup */ | |
56 | ! status = ContextualMenuSelect(CntxMenu, where, false, kCMHelpItemRemoveHelp, | |
57 | HelpName, NULL, &CntxType, &CntxMenuID, &CntxMenuItem); | |
58 | ||
59 | if (status == noErr) | |
60 | *** ../vim-7.0.214/src/version.c Thu Mar 8 18:16:54 2007 | |
61 | --- src/version.c Thu Mar 8 20:38:17 2007 | |
62 | *************** | |
63 | *** 668,669 **** | |
64 | --- 668,671 ---- | |
65 | { /* Add new patch number below this line */ | |
66 | + /**/ | |
67 | + 215, | |
68 | /**/ | |
69 | ||
70 | -- | |
71 | When danger reared its ugly head, | |
72 | He bravely turned his tail and fled | |
73 | Yes, Brave Sir Robin turned about | |
74 | And gallantly he chickened out | |
75 | Bravely taking to his feet | |
76 | He beat a very brave retreat | |
77 | Bravest of the brave Sir Robin | |
78 | Petrified of being dead | |
79 | Soiled his pants then brave Sir Robin | |
80 | Turned away and fled. | |
81 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
82 | ||
83 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
84 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
85 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
86 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |