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.2.062 < prev    next >
Encoding:
Internet Message Format  |  2003-08-09  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.062
  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.2.062
  11. Problem:    When one buffer uses a syntax with "containedin" and another
  12.         buffer does not, redrawing depends on what the current buffer is.
  13.         (Brett Pershing Stahlman)
  14. Solution:   Use "syn_buf" instead of "curbuf" to get the b_syn_containedin
  15.         flag.
  16. Files:        src/syntax.c
  17.  
  18.  
  19. *** ../vim-6.2.061/src/syntax.c    Fri May  2 20:50:03 2003
  20. --- src/syntax.c    Sun Aug 10 14:46:54 2003
  21. ***************
  22. *** 1790,1796 ****
  23.       else
  24.           cur_si = NULL;
  25.   
  26. !     if (curbuf->b_syn_containedin || cur_si == NULL
  27.                             || cur_si->si_cont_list != NULL)
  28.       {
  29.           /*
  30. --- 1790,1796 ----
  31.       else
  32.           cur_si = NULL;
  33.   
  34. !     if (syn_buf->b_syn_containedin || cur_si == NULL
  35.                             || cur_si->si_cont_list != NULL)
  36.       {
  37.           /*
  38. *** ../vim-6.2.061/src/version.c    Sat Aug  9 15:44:32 2003
  39. --- src/version.c    Sun Aug 10 14:51:43 2003
  40. ***************
  41. *** 632,633 ****
  42. --- 632,635 ----
  43.   {   /* Add new patch number below this line */
  44. + /**/
  45. +     62,
  46.   /**/
  47.  
  48. -- 
  49. From "know your smileys":
  50.  :q    vi user saying, "How do I get out of this damn emacs editor?"
  51.  
  52.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  53. ///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
  54. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  55.  \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///
  56.