5cd38c8
To: vim-dev@vim.org
5cd38c8
Subject: Patch 7.1.306
5cd38c8
Fcc: outbox
5cd38c8
From: Bram Moolenaar <Bram@moolenaar.net>
5cd38c8
Mime-Version: 1.0
5cd38c8
Content-Type: text/plain; charset=ISO-8859-1
5cd38c8
Content-Transfer-Encoding: 8bit
5cd38c8
------------
5cd38c8
5cd38c8
Patch 7.1.306
5cd38c8
Problem:    Some Unicode characters are handled like word characters while
5cd38c8
	    they are symbols.
5cd38c8
Solution:   Adjust the table for Unicode classification.
5cd38c8
Files:	    src/mbyte.c
5cd38c8
5cd38c8
5cd38c8
*** ../vim-7.1.305/src/mbyte.c	Wed Feb 20 11:27:59 2008
5cd38c8
--- src/mbyte.c	Wed May 21 20:49:34 2008
5cd38c8
***************
5cd38c8
*** 1973,1980 ****
5cd38c8
  	{0x205f, 0x205f, 0},
5cd38c8
  	{0x2060, 0x27ff, 1},		/* punctuation and symbols */
5cd38c8
  	{0x2070, 0x207f, 0x2070},	/* superscript */
5cd38c8
! 	{0x2080, 0x208f, 0x2080},	/* subscript */
5cd38c8
! 	{0x2983, 0x2998, 1},
5cd38c8
  	{0x29d8, 0x29db, 1},
5cd38c8
  	{0x29fc, 0x29fd, 1},
5cd38c8
  	{0x3000, 0x3000, 0},		/* ideographic space */
5cd38c8
--- 1973,1982 ----
5cd38c8
  	{0x205f, 0x205f, 0},
5cd38c8
  	{0x2060, 0x27ff, 1},		/* punctuation and symbols */
5cd38c8
  	{0x2070, 0x207f, 0x2070},	/* superscript */
5cd38c8
! 	{0x2080, 0x2094, 0x2080},	/* subscript */
5cd38c8
! 	{0x20a0, 0x27ff, 1},		/* all kinds of symbols */
5cd38c8
! 	{0x2800, 0x28ff, 0x2800},	/* braille */
5cd38c8
! 	{0x2900, 0x2998, 1},		/* arrows, brackets, etc. */
5cd38c8
  	{0x29d8, 0x29db, 1},
5cd38c8
  	{0x29fc, 0x29fd, 1},
5cd38c8
  	{0x3000, 0x3000, 0},		/* ideographic space */
5cd38c8
*** ../vim-7.1.305/src/version.c	Thu May 29 22:41:19 2008
5cd38c8
--- src/version.c	Wed Jun  4 10:54:36 2008
5cd38c8
***************
5cd38c8
*** 668,669 ****
5cd38c8
--- 673,676 ----
5cd38c8
  {   /* Add new patch number below this line */
5cd38c8
+ /**/
5cd38c8
+     306,
5cd38c8
  /**/
5cd38c8
5cd38c8
-- 
5cd38c8
Engineers are always delighted to share wisdom, even in areas in which they
5cd38c8
have no experience whatsoever.  Their logic provides them with inherent
5cd38c8
insight into any field of expertise.  This can be a problem when dealing with
5cd38c8
the illogical people who believe that knowledge can only be derived through
5cd38c8
experience.
5cd38c8
				(Scott Adams - The Dilbert principle)
5cd38c8
5cd38c8
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
5cd38c8
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
5cd38c8
\\\        download, build and distribute -- http://www.A-A-P.org        ///
5cd38c8
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///