]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.042
- new
[packages/vim.git] / 7.3.042
CommitLineData
f5a1442d
ER
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.042
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.042
11Problem: No spell highlighting when re-using an empty buffer.
12Solution: Clear the spell checking info only when clearing the options for a
13 buffer. (James Vega)
14Files: 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--
54BLACK KNIGHT: I move for no man.
55ARTHUR: So be it!
56 [hah] [parry thrust]
57 [ARTHUR chops the BLACK KNIGHT's left arm off]
58ARTHUR: Now stand aside, worthy adversary.
59BLACK 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 ///
This page took 0.030305 seconds and 4 git commands to generate.