home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.2 / 7.2.107 < prev    next >
Encoding:
Internet Message Format  |  2009-02-10  |  1.8 KB

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