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