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.139 < prev    next >
Encoding:
Internet Message Format  |  2002-01-15  |  3.1 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.139
  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.139
  11. Problem:    When stopping 'wildmenu' completion, the statusline of the
  12.             bottom-left vertically split window isn't redrawn. (Yegappan
  13.             Lakshmanan)
  14. Solution:   Redraw all the bottom statuslines.
  15. Files:      src/ex_getln.c, src/proto/screen.pro, src/screen.c
  16.  
  17.  
  18. *** ../vim60.138/src/ex_getln.c    Tue Jan 15 14:34:37 2002
  19. --- src/ex_getln.c    Wed Jan 16 12:18:03 2002
  20. ***************
  21. *** 369,375 ****
  22.               save_p_ls = -1;
  23.           }
  24.           else
  25. !             win_redr_status(lastwin);
  26.           KeyTyped = skt;
  27.           wild_menu_showing = 0;
  28.           }
  29. --- 369,382 ----
  30.               save_p_ls = -1;
  31.           }
  32.           else
  33. !         {
  34. ! # ifdef FEAT_VERTSPLIT
  35. !             win_redraw_last_status(topframe);
  36. ! # else
  37. !             lastwin->w_redr_status = TRUE;
  38. ! # endif
  39. !             redraw_statuslines();
  40. !         }
  41.           KeyTyped = skt;
  42.           wild_menu_showing = 0;
  43.           }
  44. *** ../vim60.138/src/proto/screen.pro    Tue Sep 25 21:49:23 2001
  45. --- src/proto/screen.pro    Wed Jan 16 12:20:07 2002
  46. ***************
  47. *** 13,18 ****
  48. --- 13,19 ----
  49.   void status_redraw_all __ARGS((void));
  50.   void status_redraw_curbuf __ARGS((void));
  51.   void redraw_statuslines __ARGS((void));
  52. + void win_redraw_last_status __ARGS((frame_T *frp));
  53.   void win_redr_status_matches __ARGS((expand_T *xp, int num_matches, char_u **matches, int match));
  54.   void win_redr_status __ARGS((win_T *wp));
  55.   int stl_connected __ARGS((win_T *wp));
  56. *** ../vim60.138/src/screen.c    Sun Jan 13 20:44:03 2002
  57. --- src/screen.c    Wed Jan 16 12:20:27 2002
  58. ***************
  59. *** 140,148 ****
  60.   static void screen_line __ARGS((int row, int coloff, int endcol, int clear_width));
  61.   # define SCREEN_LINE(r, o, e, c, rl)    screen_line((r), (o), (e), (c))
  62.   #endif
  63. - #if defined(FEAT_WILDMENU) && defined(FEAT_VERTSPLIT)
  64. - static void win_redraw_last_status __ARGS((frame_T *frp));
  65. - #endif
  66.   #ifdef FEAT_VERTSPLIT
  67.   static void draw_vsep_win __ARGS((win_T *wp, int row));
  68.   #endif
  69. --- 140,145 ----
  70. ***************
  71. *** 4274,4284 ****
  72.   }
  73.   #endif
  74.   
  75. ! #if defined(FEAT_WILDMENU) && defined(FEAT_VERTSPLIT)
  76.   /*
  77.    * Redraw all status lines at the bottom of frame "frp".
  78.    */
  79. !     static void
  80.   win_redraw_last_status(frp)
  81.       frame_T    *frp;
  82.   {
  83. --- 4271,4281 ----
  84.   }
  85.   #endif
  86.   
  87. ! #if (defined(FEAT_WILDMENU) && defined(FEAT_VERTSPLIT)) || defined(PROTO)
  88.   /*
  89.    * Redraw all status lines at the bottom of frame "frp".
  90.    */
  91. !     void
  92.   win_redraw_last_status(frp)
  93.       frame_T    *frp;
  94.   {
  95. *** ../vim60.138/src/version.c    Wed Jan 16 11:42:43 2002
  96. --- src/version.c    Wed Jan 16 12:24:42 2002
  97. ***************
  98. *** 608,609 ****
  99. --- 608,611 ----
  100.   {   /* Add new patch number below this line */
  101. + /**/
  102. +     139,
  103.   /**/
  104.  
  105. -- 
  106. hundred-and-one symptoms of being an internet addict:
  107. 5. You find yourself brainstorming for new subjects to search.
  108.  
  109.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  110. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  111.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  112.