1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
To: vim-dev@vim.org
Subject: Patch 7.2.107
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------
Patch 7.2.107
Problem: When using a GUI dialog and ":echo" commands the messages are
deleted after the dialog. (Vicent Birebent)
Solution: Don't call msg_end_prompt() since there was no prompt.
Files: src/message.c
*** ../vim-7.2.106/src/message.c Tue Jan 13 16:37:31 2009
--- src/message.c Wed Feb 11 18:38:14 2009
***************
*** 3309,3315 ****
{
c = gui_mch_dialog(type, title, message, buttons, dfltbutton,
textfield);
! msg_end_prompt();
/* Flush output to avoid that further messages and redrawing is done
* in the wrong order. */
--- 3309,3318 ----
{
c = gui_mch_dialog(type, title, message, buttons, dfltbutton,
textfield);
! /* avoid a hit-enter prompt without clearing the cmdline */
! need_wait_return = FALSE;
! emsg_on_display = FALSE;
! cmdline_row = msg_row;
/* Flush output to avoid that further messages and redrawing is done
* in the wrong order. */
*** ../vim-7.2.106/src/version.c Wed Feb 11 17:57:43 2009
--- src/version.c Wed Feb 11 18:46:12 2009
***************
*** 678,679 ****
--- 678,681 ----
{ /* Add new patch number below this line */
+ /**/
+ 107,
/**/
--
hundred-and-one symptoms of being an internet addict:
79. All of your most erotic dreams have a scrollbar at the right side.
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|