]>
Commit | Line | Data |
---|---|---|
3cc08688 AM |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.3.075 | |
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.3.075 | |
11 | Problem: After unloading another buffer, syntax highlighting in the current | |
12 | buffer may be wrong when it uses "containedin". (Eric Arnold) | |
13 | Solution: Use "buf" intead of "curbuf" in syntax_clear(). | |
14 | Files: src/syntax.c | |
15 | ||
16 | ||
17 | *** ../vim-6.3.074/src/syntax.c Tue Oct 5 17:02:41 2004 | |
18 | --- src/syntax.c Tue May 31 21:27:42 2005 | |
19 | *************** | |
20 | *** 3063,3070 **** | |
21 | { | |
22 | int i; | |
23 | ||
24 | ! curbuf->b_syn_ic = FALSE; /* Use case, by default */ | |
25 | ! curbuf->b_syn_containedin = FALSE; | |
26 | ||
27 | /* free the keywords */ | |
28 | free_keywtab(buf->b_keywtab); | |
29 | --- 3063,3070 ---- | |
30 | { | |
31 | int i; | |
32 | ||
33 | ! buf->b_syn_ic = FALSE; /* Use case, by default */ | |
34 | ! buf->b_syn_containedin = FALSE; | |
35 | ||
36 | /* free the keywords */ | |
37 | free_keywtab(buf->b_keywtab); | |
38 | *** ../vim-6.3.074/src/version.c Sun May 22 12:17:33 2005 | |
39 | --- src/version.c Tue May 31 21:29:36 2005 | |
40 | *************** | |
41 | *** 643,644 **** | |
42 | --- 643,646 ---- | |
43 | { /* Add new patch number below this line */ | |
44 | + /**/ | |
45 | + 75, | |
46 | /**/ | |
47 | ||
48 | -- | |
49 | hundred-and-one symptoms of being an internet addict: | |
50 | 15. Your heart races faster and beats irregularly each time you see a new WWW | |
51 | site address in print or on TV, even though you've never had heart | |
52 | problems before. | |
53 | ||
54 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
55 | /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
56 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
57 | \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html /// |