4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
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
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
26 ! if (curbuf->b_syn_containedin || cur_si == NULL
27 || cur_si->si_cont_list != NULL)
34 ! if (syn_buf->b_syn_containedin || cur_si == NULL
35 || cur_si->si_cont_list != NULL)
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
43 { /* Add new patch number below this line */
49 From "know your smileys":
50 :q vi user saying, "How do I get out of this damn emacs editor?"
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 ///