]>
Commit | Line | Data |
---|---|---|
f5a1442d ER |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.042 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.042 | |
11 | Problem: No spell highlighting when re-using an empty buffer. | |
12 | Solution: Clear the spell checking info only when clearing the options for a | |
13 | buffer. (James Vega) | |
14 | Files: src/buffer.c | |
15 | ||
16 | ||
17 | *** ../vim-7.3.041/src/buffer.c 2010-09-21 16:56:29.000000000 +0200 | |
18 | --- src/buffer.c 2010-10-27 16:09:26.000000000 +0200 | |
19 | *************** | |
20 | *** 639,644 **** | |
21 | --- 639,647 ---- | |
22 | { | |
23 | clear_wininfo(buf); /* including window-local options */ | |
24 | free_buf_options(buf, TRUE); | |
25 | + #ifdef FEAT_SPELL | |
26 | + ga_clear(&buf->b_s.b_langp); | |
27 | + #endif | |
28 | } | |
29 | #ifdef FEAT_EVAL | |
30 | vars_clear(&buf->b_vars.dv_hashtab); /* free all internal variables */ | |
31 | *************** | |
32 | *** 661,669 **** | |
33 | vim_free(buf->b_start_fenc); | |
34 | buf->b_start_fenc = NULL; | |
35 | #endif | |
36 | - #ifdef FEAT_SPELL | |
37 | - ga_clear(&buf->b_s.b_langp); | |
38 | - #endif | |
39 | } | |
40 | ||
41 | /* | |
42 | --- 664,669 ---- | |
43 | *** ../vim-7.3.041/src/version.c 2010-10-27 16:01:17.000000000 +0200 | |
44 | --- src/version.c 2010-10-27 16:10:33.000000000 +0200 | |
45 | *************** | |
46 | *** 716,717 **** | |
47 | --- 716,719 ---- | |
48 | { /* Add new patch number below this line */ | |
49 | + /**/ | |
50 | + 42, | |
51 | /**/ | |
52 | ||
53 | -- | |
54 | BLACK KNIGHT: I move for no man. | |
55 | ARTHUR: So be it! | |
56 | [hah] [parry thrust] | |
57 | [ARTHUR chops the BLACK KNIGHT's left arm off] | |
58 | ARTHUR: Now stand aside, worthy adversary. | |
59 | BLACK KNIGHT: 'Tis but a scratch. | |
60 | The Quest for the Holy Grail (Monty Python) | |
61 | ||
62 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
63 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
64 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
65 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |