Karsten Hopp 4304f1
To: vim_dev@googlegroups.com
Karsten Hopp 4304f1
Subject: Patch 7.4.760
Karsten Hopp 4304f1
Fcc: outbox
Karsten Hopp 4304f1
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 4304f1
Mime-Version: 1.0
Karsten Hopp 4304f1
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 4304f1
Content-Transfer-Encoding: 8bit
Karsten Hopp 4304f1
------------
Karsten Hopp 4304f1
Karsten Hopp 4304f1
Patch 7.4.760
Karsten Hopp 4304f1
Problem:    Spelling mistakes are not displayed after ":syn spell".
Karsten Hopp 4304f1
Solution:   Force a redraw after ":syn spell" command. (Christian Brabandt)
Karsten Hopp 4304f1
Files:      src/syntax.c
Karsten Hopp 4304f1
Karsten Hopp 4304f1
Karsten Hopp 4304f1
*** ../vim-7.4.759/src/syntax.c	2015-03-21 21:46:07.562423678 +0100
Karsten Hopp 4304f1
--- src/syntax.c	2015-06-25 18:35:12.860164934 +0200
Karsten Hopp 4304f1
***************
Karsten Hopp 4304f1
*** 3469,3475 ****
Karsten Hopp 4304f1
--- 3469,3481 ----
Karsten Hopp 4304f1
      else if (STRNICMP(arg, "default", 7) == 0 && next - arg == 7)
Karsten Hopp 4304f1
  	curwin->w_s->b_syn_spell = SYNSPL_DEFAULT;
Karsten Hopp 4304f1
      else
Karsten Hopp 4304f1
+     {
Karsten Hopp 4304f1
  	EMSG2(_("E390: Illegal argument: %s"), arg);
Karsten Hopp 4304f1
+ 	return;
Karsten Hopp 4304f1
+     }
Karsten Hopp 4304f1
+ 
Karsten Hopp 4304f1
+     /* assume spell checking changed, force a redraw */
Karsten Hopp 4304f1
+     redraw_win_later(curwin, NOT_VALID);
Karsten Hopp 4304f1
  }
Karsten Hopp 4304f1
  
Karsten Hopp 4304f1
  /*
Karsten Hopp 4304f1
*** ../vim-7.4.759/src/version.c	2015-06-25 18:27:27.312991420 +0200
Karsten Hopp 4304f1
--- src/version.c	2015-06-25 18:31:07.810705103 +0200
Karsten Hopp 4304f1
***************
Karsten Hopp 4304f1
*** 743,744 ****
Karsten Hopp 4304f1
--- 743,746 ----
Karsten Hopp 4304f1
  {   /* Add new patch number below this line */
Karsten Hopp 4304f1
+ /**/
Karsten Hopp 4304f1
+     760,
Karsten Hopp 4304f1
  /**/
Karsten Hopp 4304f1
Karsten Hopp 4304f1
-- 
Karsten Hopp 4304f1
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 4304f1
151. You find yourself engaged to someone you've never actually met,
Karsten Hopp 4304f1
     except through e-mail.
Karsten Hopp 4304f1
Karsten Hopp 4304f1
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 4304f1
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 4304f1
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 4304f1
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///