1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
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
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
23 clear_wininfo(buf); /* including window-local options */
24 free_buf_options(buf, TRUE);
26 + ga_clear(&buf->b_s.b_langp);
30 vars_clear(&buf->b_vars.dv_hashtab); /* free all internal variables */
33 vim_free(buf->b_start_fenc);
34 buf->b_start_fenc = NULL;
37 - ga_clear(&buf->b_s.b_langp);
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
48 { /* Add new patch number below this line */
54 BLACK KNIGHT: I move for no man.
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)
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 ///