]> git.pld-linux.org Git - packages/vim.git/blame - 7.1.204
- typo
[packages/vim.git] / 7.1.204
CommitLineData
d57b4abe
ER
1To: vim-dev@vim.org
2Subject: Patch 7.1.204 (extra)
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.1.204 (extra)
11Problem: Win32: Using the example at 'balloonexpr' the balloon disappears
12 after four seconds and then comes back again. Also moves the
13 mouse pointer a little bit. (Yongwei Wu)
14Solution: Set the autopop time to 30 seconds (the max value). (Sergey
15 Khorev) Move the mouse two pixels forward and one back to end up
16 in the same position (really!).
17Files: src/gui_w32.c
18
19
20
21*** ../vim-7.1.203/src/gui_w32.c Thu Jan 3 20:44:35 2008
22--- src/gui_w32.c Sat Jan 5 13:09:56 2008
23***************
24*** 4575,4585 ****
25 SendMessage(beval->balloon, TTM_ADDTOOL, 0, (LPARAM)pti);
26 /* Make tooltip appear sooner */
27 SendMessage(beval->balloon, TTM_SETDELAYTIME, TTDT_INITIAL, 10);
28 /*
29 * HACK: force tooltip to appear, because it'll not appear until
30 * first mouse move. D*mn M$
31 */
32! mouse_event(MOUSEEVENTF_MOVE, 1, 1, 0, 0);
33 mouse_event(MOUSEEVENTF_MOVE, (DWORD)-1, (DWORD)-1, 0, 0);
34 vim_free(pti);
35 }
36--- 4575,4589 ----
37 SendMessage(beval->balloon, TTM_ADDTOOL, 0, (LPARAM)pti);
38 /* Make tooltip appear sooner */
39 SendMessage(beval->balloon, TTM_SETDELAYTIME, TTDT_INITIAL, 10);
40+ /* I've performed some tests and it seems the longest possible life time
41+ * of tooltip is 30 seconds */
42+ SendMessage(beval->balloon, TTM_SETDELAYTIME, TTDT_AUTOPOP, 30000);
43 /*
44 * HACK: force tooltip to appear, because it'll not appear until
45 * first mouse move. D*mn M$
46+ * Amazingly moving (2, 2) and then (-1, -1) the mouse doesn't move.
47 */
48! mouse_event(MOUSEEVENTF_MOVE, 2, 2, 0, 0);
49 mouse_event(MOUSEEVENTF_MOVE, (DWORD)-1, (DWORD)-1, 0, 0);
50 vim_free(pti);
51 }
52*** ../vim-7.1.203/src/version.c Fri Jan 4 21:25:01 2008
53--- src/version.c Sat Jan 5 13:12:22 2008
54***************
55*** 668,669 ****
56--- 668,671 ----
57 { /* Add new patch number below this line */
58+ /**/
59+ 204,
60 /**/
61
62--
63WOMAN: I didn't know we had a king. I thought we were an autonomous
64 collective.
65DENNIS: You're fooling yourself. We're living in a dictatorship. A
66 self-perpetuating autocracy in which the working classes--
67WOMAN: Oh there you go, bringing class into it again.
68DENNIS: That's what it's all about if only people would--
69 The Quest for the Holy Grail (Monty Python)
70
71 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
72/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
73\\\ download, build and distribute -- http://www.A-A-P.org ///
74 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.574982 seconds and 4 git commands to generate.