Mercurial > vim
changeset 8682:4ce551bd5024 v7.4.1630
commit https://github.com/vim/vim/commit/d63aff0a65b955447de2fd8bfdaee29b61ce2843
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 21 22:15:30 2016 +0100
patch 7.4.1630
Problem: Unicode table for double width is outdated.
Solution: Update to the latest Unicode standard.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 21 Mar 2016 22:30:05 +0100 |
parents | b7eb7dd4369e |
children | 3b0b5ef9c155 |
files | src/mbyte.c src/version.c |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mbyte.c +++ b/src/mbyte.c @@ -1252,6 +1252,11 @@ utf_char2cells(int c) {0xfe68, 0xfe6b}, {0xff01, 0xff60}, {0xffe0, 0xffe6}, + {0x1b000, 0x1b001}, + {0x1f200, 0x1f202}, + {0x1f210, 0x1f23a}, + {0x1f240, 0x1f248}, + {0x1f250, 0x1f251}, {0x20000, 0x2fffd}, {0x30000, 0x3fffd} }; @@ -3351,6 +3356,7 @@ static convertStruct toUpper[] = {0x10cc0,0x10cf2,1,-64}, {0x118c0,0x118df,1,-32} }; + /* * Return the upper-case equivalent of "a", which is a UCS-4 character. Use * simple case folding.