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 / 6.0.166 < prev    next >
Encoding:
Internet Message Format  |  2002-02-02  |  3.2 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.166
  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 6.0.166
  11. Problem:    GUI: There is no way to avoid dialogs to pop up.
  12. Solution:   Add the 'c' flag to 'guioptions': Use console dialogs.  (Yegappan
  13.         Lakshmanan)
  14. Files:        runtime/doc/options.txt, src/option.h, src/message.c
  15.  
  16.  
  17. *** ../vim60.165/runtime/doc/options.txt    Wed Sep 26 13:46:46 2001
  18. --- runtime/doc/options.txt    Sun Feb  3 17:04:47 2002
  19. ***************
  20. *** 2652,2657 ****
  21. --- 2655,2662 ----
  22.                "A"         -            yes
  23.                "aA"        yes            yes
  24.   
  25. +       'c'    Use console dialogs instead of popup dialogs for simple
  26. +         choices.
  27.         'f'    Foreground: Don't use fork() to detach the GUI from the shell
  28.           where it was started.  Use this for programs that wait for the
  29.           editor to finish (e.g., an e-mail program).  Alternatively you
  30. *** ../vim60.165/src/option.h    Sat Dec 15 21:39:19 2001
  31. --- src/option.h    Sun Feb  3 17:01:12 2002
  32. ***************
  33. *** 191,196 ****
  34. --- 191,197 ----
  35.   #define GO_ASEL        'a'        /* autoselect */
  36.   #define GO_ASELML    'A'        /* autoselect modeless selection */
  37.   #define GO_BOT        'b'        /* use bottom scrollbar */
  38. + #define GO_CONDIALOG    'c'        /* use console dialog */
  39.   #define GO_FORG        'f'        /* start GUI in foreground */
  40.   #define GO_GREY        'g'        /* use grey menu items */
  41.   #define GO_ICON        'i'        /* use Vim icon */
  42. ***************
  43. *** 205,211 ****
  44.   #define GO_TOOLBAR    'T'        /* add toolbar */
  45.   #define GO_FOOTER    'F'        /* add footer */
  46.   #define GO_VERTICAL    'v'        /* arrange dialog buttons vertically */
  47. ! #define GO_ALL        "aAbfFgilmMprtTv" /* all possible flags for 'go' */
  48.   
  49.   /* flags for 'comments' option */
  50.   #define COM_NEST    'n'        /* comments strings nest */
  51. --- 206,212 ----
  52.   #define GO_TOOLBAR    'T'        /* add toolbar */
  53.   #define GO_FOOTER    'F'        /* add footer */
  54.   #define GO_VERTICAL    'v'        /* arrange dialog buttons vertically */
  55. ! #define GO_ALL        "aAbcfFgilmMprtTv" /* all possible flags for 'go' */
  56.   
  57.   /* flags for 'comments' option */
  58.   #define COM_NEST    'n'        /* comments strings nest */
  59. *** ../vim60.165/src/message.c    Sun Feb  3 15:27:26 2002
  60. --- src/message.c    Sun Feb  3 17:03:37 2002
  61. ***************
  62. *** 2212,2219 ****
  63.   #endif
  64.   
  65.   #ifdef FEAT_GUI_DIALOG
  66. !     /* When GUI is running, use the GUI dialog */
  67. !     if (gui.in_use)
  68.       {
  69.       c = gui_mch_dialog(type, title, message, buttons, dfltbutton,
  70.                                      textfield);
  71. --- 2212,2219 ----
  72.   #endif
  73.   
  74.   #ifdef FEAT_GUI_DIALOG
  75. !     /* When GUI is running and 'c' not in 'guioptions', use the GUI dialog */
  76. !     if (gui.in_use && vim_strchr(p_go, GO_CONDIALOG) == NULL)
  77.       {
  78.       c = gui_mch_dialog(type, title, message, buttons, dfltbutton,
  79.                                      textfield);
  80. *** ../vim60.165/src/version.c    Sun Feb  3 16:32:18 2002
  81. --- src/version.c    Sun Feb  3 17:07:51 2002
  82. ***************
  83. *** 608,609 ****
  84. --- 608,611 ----
  85.   {   /* Add new patch number below this line */
  86. + /**/
  87. +     166,
  88.   /**/
  89.  
  90. -- 
  91. "Hit any key to continue" is a lie.
  92.  
  93.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  94. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  95.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  96.