From e231f630e2e57e999e2f8cdb501838b75e9b3803 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 7 May 2010 16:17:26 +0000 Subject: [PATCH] [7.2.414] CTRK-K does not produce 0xa0 as expected. (Tony Problem: CTRK-K does not produce 0xa0 as expected. (Tony Mechelynck) Solution: Remove the Unicode range 0xe000 - 0xefff from digraphs, these are not valid characters. Patch 7.2.414 --- src/digraph.c | 41 ++--------------------------------------- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 39 deletions(-) diff --git a/src/digraph.c b/src/digraph.c index 80d1e94f..ed22b347 100644 --- a/src/digraph.c +++ b/src/digraph.c @@ -1933,45 +1933,8 @@ static digr_T digraphdefault[] = {'7', 'c', 0x3226}, {'8', 'c', 0x3227}, {'9', 'c', 0x3228}, - {' ', ' ', 0xe000}, - {'/', 'c', 0xe001}, - {'U', 'A', 0xe002}, - {'U', 'B', 0xe003}, - {'"', '3', 0xe004}, - {'"', '1', 0xe005}, - {'"', '!', 0xe006}, - {'"', '\'', 0xe007}, - {'"', '>', 0xe008}, - {'"', '?', 0xe009}, - {'"', '-', 0xe00a}, - {'"', '(', 0xe00b}, - {'"', '.', 0xe00c}, - {'"', ':', 0xe00d}, - {'"', '0', 0xe00e}, - {'"', '"', 0xe00f}, - {'"', '<', 0xe010}, - {'"', ',', 0xe011}, - {'"', ';', 0xe012}, - {'"', '_', 0xe013}, - {'"', '=', 0xe014}, - {'"', '/', 0xe015}, - {'"', 'i', 0xe016}, - {'"', 'd', 0xe017}, - {'"', 'p', 0xe018}, - {';', ';', 0xe019}, - {',', ',', 0xe01a}, - {'b', '3', 0xe01b}, - {'C', 'i', 0xe01c}, - {'f', '(', 0xe01d}, - {'e', 'd', 0xe01e}, - {'a', 'm', 0xe01f}, - {'p', 'm', 0xe020}, - {'F', 'l', 0xe023}, - {'G', 'F', 0xe024}, - {'>', 'V', 0xe025}, - {'!', '*', 0xe026}, - {'?', '*', 0xe027}, - {'J', '<', 0xe028}, + /* code points 0xe000 - 0xefff excluded, they have no assigned + * characters, only used in proposals. */ {'f', 'f', 0xfb00}, {'f', 'i', 0xfb01}, {'f', 'l', 0xfb02}, diff --git a/src/version.c b/src/version.c index 3b5003a9..a49ba72c 100644 --- a/src/version.c +++ b/src/version.c @@ -682,6 +682,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 414, +/**/ 413, /**/ 412, -- 2.11.4.GIT