annotate src/hangulin.c @ 16956:8471066a835e

Added tag v8.1.1478 for changeset 54c2fe0eff033a440a36a3320bd08b02bfde1c3a
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 Jun 2019 14:30:05 +0200
parents 55ccc2d353bd
children 49ef396af986
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10042
4aead6a9b7a9 commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents: 7823
diff changeset
1 /* vi:set ts=8 sts=4 sw=4 noet:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 *
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 * VIM - Vi IMproved by Bram Moolenaar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 *
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 * Do ":help uganda" in Vim to read copying and usage conditions.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 * Do ":help credits" in Vim to see a list of people who contributed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 * See README.txt for an overview of the Vim source code.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 #include "vim.h"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 #ifndef HANGUL_DEFAULT_KEYBOARD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 # define HANGUL_DEFAULT_KEYBOARD 3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 #endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 #define AUTOMATA_NEW 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 #define AUTOMATA_CORRECT 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 #define AUTOMATA_SPECIAL 2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 #define AUTOMATA_CORRECT_NEW 3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 #define AUTOMATA_ERROR 4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 #define AUTOMATA_NULL 5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 #define F_F 0x1 /* Ãʼº (initial sound) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 #define F_M 0x2 /* Áß¼º (medial vowel) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 #define F_L 0x4 /* Á¾¼º (final consonant) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 #define F_A 0x8 /* ASCII */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 #define F_NULL 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 #define M_NULL 2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 #define L_NULL 1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 static int hangul_input_state = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 static int f=F_NULL, m=M_NULL, l=L_NULL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 static int sp=0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 static char_u stack[20] = {0};
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 static int last_l = -1, last_ll = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 static int hangul_keyboard_type = HANGUL_DEFAULT_KEYBOARD;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37
7803
37c929c4a073 commit https://github.com/vim/vim/commit/92b8b2d307e34117f146319872010b0ccc9d2713
Christian Brabandt <cb@256bit.org>
parents: 7216
diff changeset
38 static void convert_ks_to_3(const char_u *src, int *fp, int *mp, int *lp);
37c929c4a073 commit https://github.com/vim/vim/commit/92b8b2d307e34117f146319872010b0ccc9d2713
Christian Brabandt <cb@256bit.org>
parents: 7216
diff changeset
39 static int convert_3_to_ks(int fv, int mv, int lv, char_u *des);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 #define push(x) {stack[ sp++ ] = *(x); stack[sp++] = *((x)+1);}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 #define pop(x) {*((x) + 1) = stack[--sp]; *(x) = stack[--sp];}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 #define query(x) {*((x) + 1) = stack[sp - 1]; *(x) = stack[sp - 2];}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 #define convert_3_to_code convert_3_to_ks
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 /**********************************************************************/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 /****** 3 ¹ú½ÄÀÚÆÇÀ» À§ÇÑ ·çƾ (Routines for 3 bulsik keyboard) ******/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 /**********************************************************************/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 /* 3 ¹ú½Ä¿¡¼­ ÀÚÆÇ º¯È¯ (3 bulsik keyboard conversion) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 static char_u value_table_for_3[] =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 24 , '"' , '#' , '$' , '%' , '&' , /* ! " # $ % & */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 18 , '(' , ')' , '*' , '+' , ',' , /* ' ( ) * + , */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 '-' , '.' , 13 , 17 , 29 , 22 , /* - . / 0 1 2 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 19 , 19 , 26 , 5 , 12 , 28 , /* 3 4 5 6 7 8 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 20 , ':' , 9 , '2' , '=' , '3' , /* 9 : ; < = > */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 '?' , '@' , 8 , '!' , 11 , 10 , /* ? @ A B C D */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 26 , 3 , '/' , 39 , '8' , '4' , /* E F G H I J */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 '5' , '6' , '1' , '0' , '9' , '>' , /* K L M N O P */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 28 , 6 , 7 , ';' , '7' , 16 , /* Q R S T U V */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 27 , 20 , '<' , 25 , '[' , 92 , /* W X Y Z [ \ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 ']' , '^' , '_' , '`' , 23 , 20 , /* ] ^ _ ` a b */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 10 , 29 , 11 , 3 , 27 , 4 , /* c d e f g h */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 8 , 13 , 2 , 14 , 20 , 11 , /* i j k l m n */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 16 , 19 , 21 , 4 , 5 , 7 , /* o p q r s t */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 5 , 13 , 9 , 2 , 7 , 17 , /* u v w x y z */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 static short_u kind_table_for_3[] =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 F_L, F_A, F_A, F_A, F_A, F_A, /* ! " # $ % & */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 F_F, F_A, F_A, F_A, F_A, F_A, /* ' ( ) * + , */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 F_A, F_A, F_M, F_F, F_L, F_L, /* - . / 0 1 2 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 F_L, F_M, F_M, F_M, F_M, F_M, /* 3 4 5 6 7 8 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 F_M, F_A, F_F, F_A, F_A, F_A, /* 9 : ; < = > */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 F_A, F_A, F_L, F_A, F_L, F_L, /* ? @ A B C D */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 F_L, F_L, F_A, F_A, F_A, F_A, /* E F G H I J */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 F_A, F_A, F_A, F_A, F_A, F_A, /* K L M N O P */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 F_L, F_M, F_L, F_A, F_A, F_L, /* Q R S T U V */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 F_L, F_L, F_A, F_L, F_A, F_A, /* W X Y Z [ \ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 F_A, F_A, F_A, F_A, F_L, F_M, /* ] ^ _ ` a b */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 F_M, F_M, F_M, F_M, F_M, F_F, /* c d e f g h */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 F_F, F_F, F_F, F_F, F_F, F_F, /* i j k l m n */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 F_F, F_F, F_L, F_M, F_L, F_M, /* o p q r s t */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 F_F, F_M, F_L, F_L, F_F, F_L, /* u v w x y z */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 /* 3 ¹ú½Ä¿¡¼­ (ÇöÀçÃʼº, ÀԷ¿µ¹®) -> º¹ÇÕÃʼº ó¸®
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 * 3 bulsik: (current initial sound, input english) -> compound initial sound.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 static int
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
97 comfcon3(int v, int c)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 if (v == 2 && c == 2)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 return 3;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 if (v == 5 && c == 5)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 return 6;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 if (v == 9 && c == 9)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 return 10;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105 if (v == 11 && c == 11)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 return 12;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 if (v == 14 && c == 14)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 return 15;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 return 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 /* 3 ¹ú½Ä¿¡¼­ (ÇöÀç¸ðÀ½, ÀÔ·Â ¿µ¹®) -> º¹ÇÕ ¸ðÀ½ ó¸®
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 * 3 bulsik: (current vowel, input english) -> compound vowel.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 static int
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
117 comvow3(int v, int c)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 switch (v)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 case 13: /* ¤Ç */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 switch (c) {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 case 3: /* ¤Ç¤¿ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 return 14;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 case 4: /* ¤Ç¤À */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 return 15;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 case 29: /* ¤Ç¤Ó */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 return 18;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 case 20: /* ¤Ì */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 switch (c) {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 case 7: /* ¤Ì¤Ã */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 return 21;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 case 10: /* ¤Ì¤Ä */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 return 22;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 case 29: /* ¤Ì¤Ó */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 return 23;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 /* 3 ¹ú½Ä ÀÚÆÇÀº ¤Ñ¤Ó °¡ ÀÖÀ¸¹Ç·Î ... */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 return 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 /* 3 ¹ú½Ä¿¡¼­ (ÇöÀç ¹Þħ, ¿µ¹®ÀÚ ÀÔ·Â) -> ¹Þħ
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 * 3 bulsik: (current prop(?), input english) -> prop(?).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 * I want to say, the 'prop' is similar to 'final consonant', but not vowel.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 * (I cannot find the real english from my dictionary. Sorry!)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 * VIM: V = initial sound, I = medial vowel, M = final consonant.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 static int
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
156 comcon3(int k, int c)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 switch (k)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 case 2: /* ¤¡ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 switch (c) {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 case 2:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 return 3; /* ¤¡¤¡ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 case 21:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 return 4; /* ¤¡¤µ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 case 5: /* ¤¤ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 switch (c) {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 case 24: /* ¤¤¤¸ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 return 6;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 case 29:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 return 7; /* ¤¤¤¾ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 case 9: /* ¤© */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 switch (c) {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 case 2: /* ¤©¤¡ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 return 10;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 case 17: /* ¤©¤± */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 return 11;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 case 19: /* ¤©¤² */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 return 12;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 case 21: /* ¤©¤µ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 return 13;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 case 27: /* ¤©¤¼ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 return 14;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190 case 28: /* ¤©¤½ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 return 15;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 case 29: /* ¤©¤¾ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 return 16;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 case 19:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 switch (c) {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 case 21: /* ¤²¤µ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 return 20;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 return 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 /**********************************************************************/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 /****** 2 ¹ú½ÄÀÚÆÇÀ» À§ÇÑ ·çƾ (Routines for 2 bulsik keyboard) ******/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 /**********************************************************************/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 static int
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
212 kind_table_for_2(int c)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 static char_u table[] =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 /* a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
217 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 /* t, u, v, w, x, y, z */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 0, 1, 0, 0, 0, 1, 0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
220 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
221
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 if (c <= 'Z')
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
223 c -= 'A';
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
224 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 c -= 'a';
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
226
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 return table[c];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 /* 2 ¹ú½Ä¿¡¼­ ¿µ¹®ÀÚ -> Á¶ÇÕÇü Ãʼº º¯È¯
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 * (2 bulsik: conversion english char. to initial sound of compound type)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 * °á°ú: ÃʼºÀÌ ¾Æ´Ï¸é 0 (If it is not initial sound, return 0).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
234 static int
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
235 fcon(int c)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 static char_u table[] =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 /*E */ 6 , /*F */ 0 , /*G */ 0 , /*H */ 0 , /*I */ 0 , /*J */ 0 , /*K */ 0 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 /*L */ 0 , /*M */ 0 , /*N */ 0 , /*O */ 0 , /*P */ 0 , /*Q */ 10, /*R */ 3 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241 /*S */ 0 , /*T */ 12, /*U */ 0 , /*V */ 0 , /*W */ 15, /*X */ 0 , /*Y */ 0 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 /*Z */ 0 , /*[ */ 0 , /*\ */ 0 , /*] */ 0 , /*^ */ 0 , /*_ */ 0 , /*` */ 0 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 /*a */ 8 , /*b */ 0 , /*c */ 16, /*d */ 13, /*e */ 5 , /*f */ 7 , /*g */ 20,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
244 /*h */ 0 , /*i */ 0 , /*j */ 0 , /*k */ 0 , /*l */ 0 , /*m */ 0 , /*n */ 0 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 /*o */ 0 , /*p */ 0 , /*q */ 9 , /*r */ 2 , /*s */ 4 , /*t */ 11, /*u */ 0 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 /*v */ 19, /*w */ 14, /*x */ 18, /*y */ 0 , /*z */ 17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 if (c < 'E' || c > 'z')
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 return 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 return table[c - 'E'];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 /* 2 ¹ú½Ä¿¡¼­ ¿µ¹®ÀÚ -> Áß¼º º¯È¯
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 * (2 bulsik: conversion english char. to medial vowel)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 * °á°ú: Áß¼ºÀÌ ¾Æ´Ï¸é 0 (If it is not medial vowel, return 0).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 static int
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
259 vow(int c)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 static char_u table[] =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 /*O */ 6 , /*P */ 12, /*Q */ 0 , /*R */ 0 , /*S */ 0 , /*T */ 0 , /*U */ 0 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 /*V */ 0 , /*W */ 0 , /*X */ 0 , /*Y */ 0 , /*Z */ 0 , /*[ */ 0 , /*\ */ 0 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 /*] */ 0 , /*^ */ 0 , /*_ */ 0 , /*` */ 0 , /*a */ 0 , /*b */ 26, /*c */ 0 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266 /*d */ 0 , /*e */ 0 , /*f */ 0 , /*g */ 0 , /*h */ 13, /*i */ 5 , /*j */ 7 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
267 /*k */ 3 , /*l */ 29, /*m */ 27, /*n */ 20, /*o */ 4 , /*p */ 10, /*q */ 0 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
268 /*r */ 0 , /*s */ 0 , /*t */ 0 , /*u */ 11, /*v */ 0 , /*w */ 0 , /*x */ 0 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 /*y */ 19};
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271 if (c < 'O' || c > 'y')
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 return 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 return table[c - 'O'];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276 /* 2¹ú½Ä¿¡¼­ ¿µ¹®ÀÚ -> ¹Þħ º¯È¯
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277 * (2 bulsik: conversion english char. to prop)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 * °á°ú: ¹ÞħÀÌ ¾Æ´Ï¸é 0 (If not prop, return 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 static int
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
281 lcon(int c)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 static char_u table[] =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
285 /*R */ 3 , /*S */ 0 , /*T */ 22, /*U */ 0 , /*V */ 0 , /*W */ 0 , /*X */ 0 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 /*Y */ 0 , /*Z */ 0 , /*[ */ 0 , /*\ */ 0 , /*] */ 0 , /*^ */ 0 , /*_ */ 0 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 /*` */ 0 , /*a */ 17, /*b */ 0 , /*c */ 25, /*d */ 23, /*e */ 8 , /*f */ 9 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 /*g */ 29, /*h */ 0 , /*i */ 0 , /*j */ 0 , /*k */ 0 , /*l */ 0 , /*m */ 0 ,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 /*n */ 0 , /*o */ 0 , /*p */ 0 , /*q */ 19, /*r */ 2 , /*s */ 5 , /*t */ 21,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 /*u */ 0 , /*v */ 28, /*w */ 24, /*x */ 27, /*y */ 0 , /*z */ 26
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 if (c < 'R' || c > 'z')
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 return 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 return table[c - 'R'];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 /* 2 ¹ú½Ä¿¡¼­ (ÇöÀç ¹Þħ, ¿µ¹®ÀÚ ÀÔ·Â) -> ¹Þħ º¯È¯
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 * (2 bulsik: conversion (curr. prop, input english) to prop)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 static int
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
303 comcon2(int k, int c)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 switch (k)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 case 2: /* ¤¡ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 switch (c) {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 case 't':
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 return 4; /* ¤¡¤µ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 case 5: /* ¤¤ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 switch (c) {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 case 'w': /* ¤¤¤¸ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 return 6;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 case 'g': /* ¤¤¤¾ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 return 7;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 case 9: /* ¤© */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 switch (c) {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 case 'r': /* ¤©¤¡ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 return 10;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 case 'a': /* ¤©¤± */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 return 11;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 case 'q': /* ¤©¤² */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 return 12;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331 case 't': /* ¤©¤µ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 return 13;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 case 'x': /* ¤©¤¼ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 return 14;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 case 'v': /* ¤©¤½ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 return 15;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 case 'g': /* ¤©¤¾ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 return 16;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342 case 19: /* ¤² */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 switch (c) {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 case 't': /* ¤²¤µ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 return 20;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349 return 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352 /* 2¹ú½Ä¿¡¼­ (ÇöÀç Áß¼º, ¿µ¹® ÀÔ·Â) -> Áß¼º º¯È¯
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 * (2 bulsik: conversion (curr. medial vowel, input english) to medial
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354 * vowel)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357 static int
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
358 comvow2(int v, int c)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360 switch (v)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 case 13: /* ¤Ç */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 switch (c) {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364 case 'k': /* ¤Ç¤¿ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 return 14;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 case 'o': /* ¤Ç¤À */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 return 15;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 case 'l': /* ¤Ç¤Ó */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 return 18;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 case 20: /* ¤Ì */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374 switch (c) {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375 case 'j': /* ¤Ì¤Ã */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376 return 21;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 case 'p': /* ¤Ì¤Ä */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 return 22;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379 case 'l': /* ¤Ì¤Ó */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380 return 23;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384 case 27: /* ¤Ñ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 switch (c) {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 case 'l': /* ¤Ñ¤Ó */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387 return 28;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391 return 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 int
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
395 hangul_input_state_get(void)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 return hangul_input_state;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
398 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
400 void
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
401 hangul_input_state_set(int state)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403 hangul_input_state = state;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
404 hangul_input_clear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
405 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407 int
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
408 im_get_status(void)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
409 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410 return hangul_input_state_get();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
412
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413 void
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
414 hangul_input_state_toggle(void)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
415 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416 if (hangul_input_state_get())
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 hangul_input_state_set(0);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419 if (composing_hangul)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
421 push_raw_key(composing_hangul_buffer, 2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422 composing_hangul = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
426 hangul_input_state_set(1);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
427
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
428 if (showmode())
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
429 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
430 setcursor();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
431 out_flush();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
432 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
433
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
434 gui_update_cursor(TRUE, FALSE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
435 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
436
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
437 static int
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
438 hangul_automata2(char_u *buf, int_u *c)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
439 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
440 int t,t2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
441
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
442 if (*c == BS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
443 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
444 if (sp == 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
445 return AUTOMATA_SPECIAL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
446 else if (sp < 4)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
447 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
448 hangul_input_clear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
449 return AUTOMATA_NULL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
450 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
451 pop(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
452 query(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
453 convert_ks_to_3(buf, &f, &m, &l);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
454 last_l = last_ll;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 last_ll = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
456 return AUTOMATA_CORRECT;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
457 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
458 if ((!(*c >= 'A' && *c <= 'Z')) && (!(*c >= 'a' && *c <= 'z')))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
459 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
460 hangul_input_clear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
461 return AUTOMATA_SPECIAL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
462 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
463 t = *c;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
464 switch (kind_table_for_2(t))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
465 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
466 case 0: /* ÀÚÀ½ (consonant) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
467 if (f == F_NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
468 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
469 if (m != M_NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
470 hangul_input_clear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
471 f = fcon(t);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
472 convert_3_to_code(f, M_NULL, L_NULL, buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473 push(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
474 last_ll = last_l = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
475 return AUTOMATA_NEW;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
476 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
477 if (m == M_NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
478 return AUTOMATA_ERROR;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
479 if (l == L_NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
480 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
481 t2 = lcon(t);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
482 if (!t2) /* ¹ÞħÀ¸·Î ÀûÇÕÇÏÁö¾Ê´Ù (cannot use it as a prop) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
483 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
484 hangul_input_clear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
485 last_ll = last_l = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
486 f = fcon(t);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487 convert_3_to_code(f, m, l, buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
488 push(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
489 return AUTOMATA_NEW;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
490 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
491 if (2 == convert_3_to_code(f, m, t2, buf))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
492 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
493 last_ll = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
494 last_l = t;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
495 l = t2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
496 push(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
497 return AUTOMATA_CORRECT;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
498 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
499 else /* ¹ÞħÀ¸·Î ¾²·ÁÇÏ¿´À¸³ª code¿¡ ¾ø´Â ±ÛÀÚÀÌ´Ù */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
500 { /* cannot find such a prop in the code table */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
501 last_ll = last_l = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
502 hangul_input_clear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
503 f = fcon(t);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
504 convert_3_to_code(f, m, l, buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
505 push(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
506 return AUTOMATA_NEW;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
507 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
508 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
509 /* ÃÊ Áß Á¾¼ºÀÌ ¸ðµÎ °®Ãß¾îÁ® ÀÖ´Ù
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
510 * I have all the 'initial sound' and 'medial vowel' and 'final
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
511 * consonant'.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
512 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
513 t2 = comcon2(l, t);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
514 if (t2)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
515 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
516 if (2 == convert_3_to_code(f, m, t2, buf))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
517 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
518 l = t2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
519 last_ll = last_l;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
520 last_l = t;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
521 push(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
522 return AUTOMATA_CORRECT;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
523 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
524 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
525 last_ll = last_l = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
526 hangul_input_clear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
527 f = fcon(t);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
528 convert_3_to_code(f, m, l, buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
529 push(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
530 return AUTOMATA_NEW;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
531
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
532 case 1:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
533 if (f == F_NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
534 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
535 hangul_input_clear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
536 m = vow(t);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
537 convert_3_to_code (f, m, L_NULL, buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
538 push (buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
539 last_ll = last_l = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
540 return AUTOMATA_NEW;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
541 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
542 if (m == M_NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
543 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
544 m = vow(t);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
545 if (2 == convert_3_to_code(f, m, L_NULL, buf))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
546 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
547 last_ll = last_l = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
548 push(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
549 return AUTOMATA_CORRECT;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
550 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
551 m = M_NULL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
552 return AUTOMATA_ERROR;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
553 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
554 if (l == L_NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
555 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
556 t2 = comvow2(m, t);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
557 if (t2)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
558 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
559 if (2 != convert_3_to_code(f, t2, L_NULL, buf))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
560 return AUTOMATA_ERROR;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
561
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
562 m = t2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
563 push(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
564 last_ll = last_l = -1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
565 return AUTOMATA_CORRECT;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
566 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
567 return AUTOMATA_ERROR;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
568 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
569 pop(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
570 pop(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
571 sp = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
572 if (last_l == -1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
573 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
574 /* À½... ÀÌ°Ô ÇÊ¿äÇϳª?? (Hmm... Is it needed?) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
575 convert_ks_to_3(buf, &f, &m, &l);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
576 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
577 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
578 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
579 char_u tmp[3];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
580 f = fcon(last_l);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
581 convert_3_to_code (f, M_NULL, L_NULL, tmp);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
582 push (tmp);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
583 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
584 m = vow(t);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
585 l = L_NULL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
586 convert_3_to_code(f, m, l, buf + 2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
587 push(buf + 2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
588 return AUTOMATA_CORRECT_NEW;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
589
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
590 default:
15470
55ccc2d353bd patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents: 14862
diff changeset
591 iemsg(_("E256: Hangul automata ERROR"));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
592 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
593 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
594 return AUTOMATA_ERROR; /* RrEeAaLlLlYy EeRrRrOoRr */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
595 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
596
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
597 static int
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
598 hangul_automata3(char_u *buf, int_u *c)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
599 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
600 int t, t2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
601
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
602 if (*c >= '!' && *c <= 'z')
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
603 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
604 *c -= '!';
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
605 t = value_table_for_3[*c];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
606 switch (kind_table_for_3[*c])
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
607 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
608 case F_F: /* Ãʼº¹®ÀÚ (char. of an initial sound) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
609 if (m != M_NULL || sp == 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
610 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
611 /* ÃʼºÀÌ ºñ¾ú°Å³ª ´ÙÀ½ ±ÛÀÚ ¸ðÀ¸±â ½ÃÀÛ
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
612 * Empty 'initial sound', so starting automata.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
613 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
614 hangul_input_clear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
615 f = t;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
616 convert_3_to_code(f, M_NULL, L_NULL, buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
617 push(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
618 return AUTOMATA_NEW;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
619 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
620 if ((t2 = comfcon3(f,t)) != 0) /* º¹ÀÚÀ½ (double? consonant) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
621 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
622 f=t2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
623 convert_3_to_code(f, M_NULL, L_NULL, buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
624 push(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
625 return AUTOMATA_CORRECT;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
626 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
627 return AUTOMATA_ERROR;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
628
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
629 case F_M: /* ¸ðÀ½ (vowel) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
630 if (m == M_NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
631 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
632 if (2 != convert_3_to_code(f, t, L_NULL,buf))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
633 return AUTOMATA_ERROR;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
634
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
635 m = t;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
636 push(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
637 if (f == F_NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
638 return AUTOMATA_NEW;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
639 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
640 return AUTOMATA_CORRECT;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
641 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
642 if ((t2 = comvow3(m,t))) /* º¹¸ðÀ½ (a diphthong) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
643 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
644 m = t2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
645 convert_3_to_code(f, m, L_NULL, buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
646 push(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
647 return AUTOMATA_CORRECT;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
648 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
649 return AUTOMATA_ERROR;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
650
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
651 case F_L: /* ¹Þħ (prop?) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
652 if (m == M_NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
653 return AUTOMATA_ERROR; /* Áß¼º¾ø´Â Á¾¼º */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
654 if (l == L_NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
655 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
656 if (2 != convert_3_to_code(f, m, t, buf))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
657 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
658 l = L_NULL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
659 return AUTOMATA_ERROR;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
660 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
661 push(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
662 l = t;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
663 return AUTOMATA_CORRECT;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
664 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
665 if ((t2 = comcon3(l,t)) != 0) /* º¹ ¹Þħ ?? (double prop?) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
666 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
667 if (2 != convert_3_to_code(f, m, t2, buf))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
668 return AUTOMATA_ERROR;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
669
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
670 push(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
671 l = t2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
672 return AUTOMATA_CORRECT;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
673 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
674 return AUTOMATA_ERROR;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
675
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
676 case F_A: /* Ư¼ö¹®ÀÚ³ª ¼ýÀÚ (special char. or number) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
677 hangul_input_clear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
678 *c = t;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
679 return AUTOMATA_SPECIAL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
680 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
681 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
682 if (*c == BS)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
683 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
684 if (sp >= 4)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
685 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
686 pop(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
687 pop(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
688 convert_ks_to_3(buf, &f, &m, &l);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
689 push(buf);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
690 return AUTOMATA_CORRECT;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
691 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
692 else if (sp == 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
693 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
694 return AUTOMATA_SPECIAL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
695 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
696 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
697 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
698 hangul_input_clear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
699 return AUTOMATA_NULL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
700 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
701 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
702 hangul_input_clear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
703 return AUTOMATA_SPECIAL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
704 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
705
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
706 void
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
707 hangul_keyboard_set(void)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
708 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
709 int keyboard;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
710 char *s;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
711
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
712 hangul_input_clear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
713
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
714 if ((s = getenv("VIM_KEYBOARD")) == NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
715 s = getenv("HANGUL_KEYBOARD_TYPE");
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
716
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
717 if (s)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
718 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
719 if (*s == '2')
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
720 keyboard = 2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
721 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
722 keyboard = 3;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
723 hangul_keyboard_type = keyboard;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
724 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
725 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
726
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
727 int
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
728 hangul_input_process(char_u *s, int len)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
729 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
730 int n;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
731 unsigned int c;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
732 char_u hanbuf[20];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
733
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
734 if (len == 1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
735 /* normal key press */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
736 c = *s;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
737 else if (len == 3 && s[0] == CSI && s[1] == 'k' && s[2] == 'b')
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
738 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
739 /* backspace */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
740 if (composing_hangul)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
741 c = Ctrl_H;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
742 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
743 return len;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
744 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
745 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
746 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
747 if (composing_hangul)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
748 push_raw_key(composing_hangul_buffer, 2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
749 hangul_input_clear();
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
750 composing_hangul = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
751 return len;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
752 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
753
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
754 if (hangul_keyboard_type == 2)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
755 n = hangul_automata2(hanbuf, &c);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
756 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
757 n = hangul_automata3(hanbuf, &c);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
758
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
759 if (n == AUTOMATA_CORRECT)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
760 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
761 STRNCPY(composing_hangul_buffer, hanbuf, 2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
762 gui_update_cursor(TRUE, FALSE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
763 return 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
764 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
765 else if (n == AUTOMATA_NEW)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
766 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
767 if (composing_hangul)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
768 push_raw_key(composing_hangul_buffer, 2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
769 STRNCPY(composing_hangul_buffer, hanbuf, 2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
770 composing_hangul = 1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
771 gui_update_cursor(TRUE, FALSE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
772 return 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
773 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
774 else if (n == AUTOMATA_CORRECT_NEW)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
775 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
776 if (composing_hangul)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
777 push_raw_key(hanbuf, 2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
778 STRNCPY(composing_hangul_buffer, hanbuf+2, 2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
779 composing_hangul = 1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
780 gui_update_cursor(TRUE, FALSE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
781 return 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
782 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
783 else if (n == AUTOMATA_NULL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
784 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
785 composing_hangul = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
786 gui_redraw_block(gui.cursor_row, gui.cursor_col,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
787 gui.cursor_row, gui.cursor_col + 1,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
788 GUI_MON_NOCLEAR);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
789 gui_update_cursor(TRUE, FALSE);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
790 return 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
791 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
792 else if (n == AUTOMATA_SPECIAL)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
793 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
794 if (composing_hangul)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
795 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
796 push_raw_key(composing_hangul_buffer, 2);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
797 composing_hangul = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
798 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
799 *s = c;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
800 return 1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
801 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
802 else if (n == AUTOMATA_ERROR)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
803 {
6949
1e621b31948b patch 7.4.793
Bram Moolenaar <bram@vim.org>
parents: 7
diff changeset
804 vim_beep(BO_HANGUL);
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
805 return 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
806 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
807 return len;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
808 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
809
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
810 void
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
811 hangul_input_clear(void)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
812 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
813 sp = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
814 f = F_NULL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
815 m = M_NULL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
816 l = L_NULL;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
817 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
818
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
819 #define han_index(h, l) (((h)-0xb0)*(0xff-0xa1)+((l)-0xa1))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
820
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
821 static const char_u ks_table1[][3] =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
822 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
823 { 2, 3, 1}, { 2, 3, 2}, { 2, 3, 5}, { 2, 3, 8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
824 { 2, 3, 9}, { 2, 3, 10}, { 2, 3, 11}, { 2, 3, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
825 { 2, 3, 19}, { 2, 3, 20}, { 2, 3, 21}, { 2, 3, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
826 { 2, 3, 23}, { 2, 3, 24}, { 2, 3, 25}, { 2, 3, 27},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
827 { 2, 3, 28}, { 2, 3, 29}, { 2, 4, 1}, { 2, 4, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
828 { 2, 4, 5}, { 2, 4, 9}, { 2, 4, 17}, { 2, 4, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
829 { 2, 4, 21}, { 2, 4, 22}, { 2, 4, 23}, { 2, 5, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
830 { 2, 5, 2}, { 2, 5, 5}, { 2, 5, 9}, { 2, 5, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
831 { 2, 5, 23}, { 2, 6, 1}, { 2, 6, 5}, { 2, 6, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
832 { 2, 7, 1}, { 2, 7, 2}, { 2, 7, 5}, { 2, 7, 8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
833 { 2, 7, 9}, { 2, 7, 11}, { 2, 7, 17}, { 2, 7, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
834 { 2, 7, 21}, { 2, 7, 22}, { 2, 7, 23}, { 2, 7, 24},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
835 { 2, 7, 27}, { 2, 7, 28}, { 2, 7, 29}, { 2, 10, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
836 { 2, 10, 5}, { 2, 10, 9}, { 2, 10, 17}, { 2, 10, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
837 { 2, 10, 21}, { 2, 10, 22}, { 2, 10, 23}, { 2, 11, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
838 { 2, 11, 2}, { 2, 11, 3}, { 2, 11, 5}, { 2, 11, 8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
839 { 2, 11, 9}, { 2, 11, 17}, { 2, 11, 19}, { 2, 11, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
840 { 2, 11, 22}, { 2, 11, 23}, { 2, 11, 27}, { 2, 12, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
841 { 2, 12, 5}, { 2, 12, 9}, { 2, 12, 19}, { 2, 12, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
842 { 2, 13, 1}, { 2, 13, 2}, { 2, 13, 5}, { 2, 13, 8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
843 { 2, 13, 9}, { 2, 13, 11}, { 2, 13, 13}, { 2, 13, 16},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
844 { 2, 13, 17}, { 2, 13, 19}, { 2, 13, 21}, { 2, 13, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
845 { 2, 13, 24}, { 2, 14, 1}, { 2, 14, 2}, { 2, 14, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
846 { 2, 14, 9}, { 2, 14, 11}, { 2, 14, 17}, { 2, 14, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
847 { 2, 14, 21}, { 2, 14, 23}, { 2, 15, 1}, { 2, 15, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
848 { 2, 15, 9}, { 2, 15, 19}, { 2, 15, 22}, { 2, 15, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
849 { 2, 18, 1}, { 2, 18, 2}, { 2, 18, 5}, { 2, 18, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
850 { 2, 18, 17}, { 2, 18, 19}, { 2, 18, 21}, { 2, 18, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
851 { 2, 19, 1}, { 2, 19, 5}, { 2, 19, 9}, { 2, 19, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
852 { 2, 19, 21}, { 2, 20, 1}, { 2, 20, 2}, { 2, 20, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
853 { 2, 20, 8}, { 2, 20, 9}, { 2, 20, 10}, { 2, 20, 11},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
854 { 2, 20, 16}, { 2, 20, 17}, { 2, 20, 19}, { 2, 20, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
855 { 2, 20, 23}, { 2, 20, 24}, { 2, 21, 1}, { 2, 21, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
856 { 2, 21, 5}, { 2, 21, 9}, { 2, 21, 22}, { 2, 21, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
857 { 2, 22, 1}, { 2, 22, 21}, { 2, 23, 1}, { 2, 23, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
858 { 2, 23, 5}, { 2, 23, 9}, { 2, 23, 17}, { 2, 23, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
859 { 2, 23, 21}, { 2, 26, 1}, { 2, 26, 5}, { 2, 26, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
860 { 2, 27, 1}, { 2, 27, 2}, { 2, 27, 5}, { 2, 27, 8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
861 { 2, 27, 9}, { 2, 27, 10}, { 2, 27, 17}, { 2, 27, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
862 { 2, 27, 21}, { 2, 27, 23}, { 2, 28, 1}, { 2, 29, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
863 { 2, 29, 2}, { 2, 29, 5}, { 2, 29, 8}, { 2, 29, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
864 { 2, 29, 11}, { 2, 29, 17}, { 2, 29, 19}, { 2, 29, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
865 { 2, 29, 23}, { 2, 29, 24}, { 2, 29, 28}, { 3, 3, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
866 { 3, 3, 2}, { 3, 3, 3}, { 3, 3, 5}, { 3, 3, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
867 { 3, 3, 11}, { 3, 3, 17}, { 3, 3, 19}, { 3, 3, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
868 { 3, 3, 22}, { 3, 3, 23}, { 3, 3, 27}, { 3, 4, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
869 { 3, 4, 2}, { 3, 4, 5}, { 3, 4, 9}, { 3, 4, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
870 { 3, 4, 19}, { 3, 4, 21}, { 3, 4, 22}, { 3, 4, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
871 { 3, 5, 1}, { 3, 5, 2}, { 3, 5, 9}, { 3, 7, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
872 { 3, 7, 2}, { 3, 7, 3}, { 3, 7, 5}, { 3, 7, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
873 { 3, 7, 17}, { 3, 7, 19}, { 3, 7, 21}, { 3, 7, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
874 { 3, 7, 23}, { 3, 10, 1}, { 3, 10, 2}, { 3, 10, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
875 { 3, 10, 17}, { 3, 10, 21}, { 3, 10, 23}, { 3, 11, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
876 { 3, 11, 5}, { 3, 11, 9}, { 3, 11, 21}, { 3, 11, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
877 { 3, 11, 27}, { 3, 12, 1}, { 3, 13, 1}, { 3, 13, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
878 { 3, 13, 5}, { 3, 13, 7}, { 3, 13, 9}, { 3, 13, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
879 { 3, 13, 19}, { 3, 13, 21}, { 3, 13, 23}, { 3, 13, 24},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
880 { 3, 13, 25}, { 3, 14, 1}, { 3, 14, 2}, { 3, 14, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
881 { 3, 14, 22}, { 3, 14, 23}, { 3, 15, 1}, { 3, 15, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
882 { 3, 15, 23}, { 3, 18, 1}, { 3, 18, 5}, { 3, 18, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
883 { 3, 18, 17}, { 3, 18, 19}, { 3, 18, 23}, { 3, 19, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
884 { 3, 20, 1}, { 3, 20, 2}, { 3, 20, 5}, { 3, 20, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
885 { 3, 20, 16}, { 3, 20, 17}, { 3, 20, 19}, { 3, 20, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
886 { 3, 20, 23}, { 3, 20, 24}, { 3, 21, 1}, { 3, 21, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
887 { 3, 21, 22}, { 3, 21, 23}, { 3, 22, 1}, { 3, 22, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
888 { 3, 22, 5}, { 3, 22, 9}, { 3, 22, 17}, { 3, 22, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
889 { 3, 22, 22}, { 3, 23, 1}, { 3, 23, 5}, { 3, 23, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
890 { 3, 23, 17}, { 3, 23, 19}, { 3, 26, 1}, { 3, 27, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
891 { 3, 27, 2}, { 3, 27, 5}, { 3, 27, 7}, { 3, 27, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
892 { 3, 27, 11}, { 3, 27, 16}, { 3, 27, 17}, { 3, 27, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
893 { 3, 27, 21}, { 3, 27, 23}, { 3, 27, 27}, { 3, 29, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
894 { 3, 29, 2}, { 3, 29, 5}, { 3, 29, 9}, { 3, 29, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
895 { 3, 29, 19}, { 3, 29, 21}, { 3, 29, 23}, { 4, 3, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
896 { 4, 3, 2}, { 4, 3, 3}, { 4, 3, 5}, { 4, 3, 8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
897 { 4, 3, 9}, { 4, 3, 10}, { 4, 3, 11}, { 4, 3, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
898 { 4, 3, 19}, { 4, 3, 21}, { 4, 3, 22}, { 4, 3, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
899 { 4, 3, 24}, { 4, 3, 25}, { 4, 3, 27}, { 4, 3, 29},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
900 { 4, 4, 1}, { 4, 4, 2}, { 4, 4, 5}, { 4, 4, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
901 { 4, 4, 17}, { 4, 4, 19}, { 4, 4, 21}, { 4, 4, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
902 { 4, 4, 23}, { 4, 5, 1}, { 4, 5, 2}, { 4, 5, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
903 { 4, 5, 9}, { 4, 5, 17}, { 4, 5, 23}, { 4, 7, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
904 { 4, 7, 2}, { 4, 7, 4}, { 4, 7, 5}, { 4, 7, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
905 { 4, 7, 11}, { 4, 7, 12}, { 4, 7, 17}, { 4, 7, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
906 { 4, 7, 21}, { 4, 7, 22}, { 4, 7, 23}, { 4, 7, 29},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
907 { 4, 10, 1}, { 4, 10, 2}, { 4, 10, 5}, { 4, 10, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
908 { 4, 10, 17}, { 4, 10, 19}, { 4, 10, 21}, { 4, 10, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
909 { 4, 10, 23}, { 4, 11, 1}, { 4, 11, 2}, { 4, 11, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
910 { 4, 11, 9}, { 4, 11, 17}, { 4, 11, 19}, { 4, 11, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
911 { 4, 11, 23}, { 4, 11, 26}, { 4, 12, 1}, { 4, 12, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
912 { 4, 13, 1}, { 4, 13, 2}, { 4, 13, 5}, { 4, 13, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
913 { 4, 13, 11}, { 4, 13, 17}, { 4, 13, 19}, { 4, 13, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
914 { 4, 13, 23}, { 4, 13, 28}, { 4, 13, 29}, { 4, 14, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
915 { 4, 14, 5}, { 4, 14, 9}, { 4, 14, 22}, { 4, 18, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
916 { 4, 18, 5}, { 4, 18, 9}, { 4, 18, 17}, { 4, 18, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
917 { 4, 18, 21}, { 4, 19, 1}, { 4, 19, 2}, { 4, 19, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
918 { 4, 19, 9}, { 4, 19, 19}, { 4, 19, 21}, { 4, 19, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
919 { 4, 20, 1}, { 4, 20, 2}, { 4, 20, 5}, { 4, 20, 8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
920 { 4, 20, 9}, { 4, 20, 17}, { 4, 20, 19}, { 4, 20, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
921 { 4, 20, 23}, { 4, 21, 1}, { 4, 21, 22}, { 4, 22, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
922 { 4, 23, 1}, { 4, 23, 5}, { 4, 23, 9}, { 4, 23, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
923 { 4, 23, 19}, { 4, 26, 1}, { 4, 26, 2}, { 4, 26, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
924 { 4, 26, 17}, { 4, 26, 19}, { 4, 26, 23}, { 4, 27, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
925 { 4, 27, 2}, { 4, 27, 5}, { 4, 27, 9}, { 4, 27, 10},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
926 { 4, 27, 11}, { 4, 27, 17}, { 4, 27, 19}, { 4, 27, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
927 { 4, 27, 23}, { 4, 27, 24}, { 4, 27, 28}, { 4, 28, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
928 { 4, 28, 5}, { 4, 28, 9}, { 4, 29, 1}, { 4, 29, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
929 { 4, 29, 5}, { 4, 29, 9}, { 4, 29, 11}, { 4, 29, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
930 { 4, 29, 19}, { 4, 29, 21}, { 4, 29, 23}, { 4, 29, 28},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
931 { 5, 3, 1}, { 5, 3, 2}, { 5, 3, 3}, { 5, 3, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
932 { 5, 3, 8}, { 5, 3, 9}, { 5, 3, 10}, { 5, 3, 11},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
933 { 5, 3, 12}, { 5, 3, 16}, { 5, 3, 17}, { 5, 3, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
934 { 5, 3, 21}, { 5, 3, 22}, { 5, 3, 23}, { 5, 3, 24},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
935 { 5, 3, 25}, { 5, 3, 29}, { 5, 4, 1}, { 5, 4, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
936 { 5, 4, 5}, { 5, 4, 9}, { 5, 4, 17}, { 5, 4, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
937 { 5, 4, 21}, { 5, 4, 22}, { 5, 4, 23}, { 5, 5, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
938 { 5, 7, 1}, { 5, 7, 2}, { 5, 7, 3}, { 5, 7, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
939 { 5, 7, 8}, { 5, 7, 9}, { 5, 7, 11}, { 5, 7, 12},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
940 { 5, 7, 17}, { 5, 7, 19}, { 5, 7, 21}, { 5, 7, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
941 { 5, 7, 25}, { 5, 7, 28}, { 5, 10, 1}, { 5, 10, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
942 { 5, 10, 5}, { 5, 10, 9}, { 5, 10, 17}, { 5, 10, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
943 { 5, 10, 21}, { 5, 10, 22}, { 5, 10, 23}, { 5, 11, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
944 { 5, 11, 5}, { 5, 11, 9}, { 5, 11, 22}, { 5, 11, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
945 { 5, 12, 1}, { 5, 12, 5}, { 5, 13, 1}, { 5, 13, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
946 { 5, 13, 5}, { 5, 13, 8}, { 5, 13, 9}, { 5, 13, 11},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
947 { 5, 13, 13}, { 5, 13, 17}, { 5, 13, 19}, { 5, 13, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
948 { 5, 13, 23}, { 5, 13, 25}, { 5, 13, 27}, { 5, 14, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
949 { 5, 14, 5}, { 5, 14, 9}, { 5, 15, 1}, { 5, 15, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
950 { 5, 18, 1}, { 5, 18, 5}, { 5, 18, 9}, { 5, 18, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
951 { 5, 18, 19}, { 5, 18, 21}, { 5, 19, 1}, { 5, 20, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
952 { 5, 20, 2}, { 5, 20, 5}, { 5, 20, 9}, { 5, 20, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
953 { 5, 20, 19}, { 5, 20, 21}, { 5, 20, 23}, { 5, 21, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
954 { 5, 21, 22}, { 5, 22, 1}, { 5, 22, 23}, { 5, 23, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
955 { 5, 23, 5}, { 5, 23, 9}, { 5, 23, 19}, { 5, 23, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
956 { 5, 23, 23}, { 5, 26, 1}, { 5, 26, 5}, { 5, 26, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
957 { 5, 26, 17}, { 5, 26, 23}, { 5, 27, 1}, { 5, 27, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
958 { 5, 27, 5}, { 5, 27, 8}, { 5, 27, 9}, { 5, 27, 11},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
959 { 5, 27, 17}, { 5, 27, 19}, { 5, 27, 21}, { 5, 27, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
960 { 5, 28, 1}, { 5, 29, 1}, { 5, 29, 2}, { 5, 29, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
961 { 5, 29, 8}, { 5, 29, 9}, { 5, 29, 17}, { 5, 29, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
962 { 5, 29, 21}, { 5, 29, 22}, { 5, 29, 23}, { 5, 29, 24},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
963 { 6, 3, 1}, { 6, 3, 2}, { 6, 3, 5}, { 6, 3, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
964 { 6, 3, 17}, { 6, 3, 19}, { 6, 3, 21}, { 6, 3, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
965 { 6, 3, 23}, { 6, 3, 29}, { 6, 4, 1}, { 6, 4, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
966 { 6, 4, 5}, { 6, 4, 9}, { 6, 4, 17}, { 6, 4, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
967 { 6, 4, 21}, { 6, 4, 22}, { 6, 4, 23}, { 6, 7, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
968 { 6, 7, 2}, { 6, 7, 5}, { 6, 7, 9}, { 6, 7, 11},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
969 { 6, 7, 12}, { 6, 7, 17}, { 6, 7, 19}, { 6, 7, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
970 { 6, 7, 22}, { 6, 7, 23}, { 6, 7, 29}, { 6, 10, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
971 { 6, 10, 2}, { 6, 10, 5}, { 6, 10, 9}, { 6, 10, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
972 { 6, 10, 19}, { 6, 10, 21}, { 6, 10, 22}, { 6, 10, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
973 { 6, 11, 1}, { 6, 11, 22}, { 6, 13, 1}, { 6, 13, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
974 { 6, 13, 5}, { 6, 13, 9}, { 6, 13, 23}, { 6, 14, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
975 { 6, 14, 9}, { 6, 15, 1}, { 6, 18, 1}, { 6, 18, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
976 { 6, 20, 1}, { 6, 20, 2}, { 6, 20, 5}, { 6, 20, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
977 { 6, 20, 16}, { 6, 20, 17}, { 6, 20, 23}, { 6, 22, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
978 { 6, 23, 1}, { 6, 23, 5}, { 6, 23, 9}, { 6, 23, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
979 { 6, 23, 19}, { 6, 23, 23}, { 6, 27, 1}, { 6, 27, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
980 { 6, 27, 5}, { 6, 27, 8}, { 6, 27, 9}, { 6, 27, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
981 { 6, 27, 19}, { 6, 27, 21}, { 6, 28, 1}, { 6, 28, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
982 { 6, 28, 9}, { 6, 28, 17}, { 6, 28, 19}, { 6, 29, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
983 { 6, 29, 5}, { 6, 29, 9}, { 6, 29, 17}, { 6, 29, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
984 { 6, 29, 21}, { 6, 29, 23}, { 7, 3, 1}, { 7, 3, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
985 { 7, 3, 5}, { 7, 3, 9}, { 7, 3, 17}, { 7, 3, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
986 { 7, 3, 21}, { 7, 3, 22}, { 7, 3, 23}, { 7, 3, 24},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
987 { 7, 3, 28}, { 7, 3, 29}, { 7, 4, 1}, { 7, 4, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
988 { 7, 4, 5}, { 7, 4, 9}, { 7, 4, 17}, { 7, 4, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
989 { 7, 4, 21}, { 7, 4, 22}, { 7, 4, 23}, { 7, 5, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
990 { 7, 5, 2}, { 7, 5, 5}, { 7, 5, 21}, { 7, 5, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
991 { 7, 7, 1}, { 7, 7, 2}, { 7, 7, 5}, { 7, 7, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
992 { 7, 7, 17}, { 7, 7, 19}, { 7, 7, 21}, { 7, 7, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
993 { 7, 7, 23}, { 7, 7, 29}, { 7, 10, 1}, { 7, 10, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
994 { 7, 10, 5}, { 7, 10, 9}, { 7, 10, 17}, { 7, 10, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
995 { 7, 10, 21}, { 7, 10, 23}, { 7, 11, 1}, { 7, 11, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
996 { 7, 11, 5}, { 7, 11, 9}, { 7, 11, 17}, { 7, 11, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
997 { 7, 11, 21}, { 7, 11, 22}, { 7, 11, 23}, { 7, 12, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
998 { 7, 12, 5}, { 7, 12, 19}, { 7, 12, 21}, { 7, 13, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
999 { 7, 13, 2}, { 7, 13, 5}, { 7, 13, 9}, { 7, 13, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1000 { 7, 13, 19}, { 7, 13, 21}, { 7, 13, 23}, { 7, 14, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1001 { 7, 14, 5}, { 7, 14, 23}, { 7, 15, 22}, { 7, 18, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1002 { 7, 18, 5}, { 7, 18, 9}, { 7, 18, 17}, { 7, 18, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1003 { 7, 18, 21}, { 7, 18, 23}, { 7, 19, 1}, { 7, 19, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1004 { 7, 19, 9}, { 7, 19, 19}, { 7, 19, 21}, { 7, 19, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1005 { 7, 20, 1}, { 7, 20, 2}, { 7, 20, 5}, { 7, 20, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1006 { 7, 20, 17}, { 7, 20, 19}, { 7, 20, 21}, { 7, 20, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1007 { 7, 21, 1}, { 7, 21, 22}, { 7, 22, 1}, { 7, 23, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1008 { 7, 23, 2}, { 7, 23, 5}, { 7, 23, 9}, { 7, 23, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1009 { 7, 23, 21}, { 7, 23, 23}, { 7, 26, 1}, { 7, 26, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1010 { 7, 26, 5}, { 7, 26, 9}, { 7, 26, 17}, { 7, 26, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1011 { 7, 26, 21}, { 7, 26, 23}, { 7, 27, 1}, { 7, 27, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1012 { 7, 27, 5}, { 7, 27, 9}, { 7, 27, 17}, { 7, 27, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1013 { 7, 27, 21}, { 7, 27, 23}, { 7, 27, 24}, { 7, 27, 27},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1014 { 7, 27, 28}, { 7, 29, 1}, { 7, 29, 2}, { 7, 29, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1015 { 7, 29, 9}, { 7, 29, 17}, { 7, 29, 19}, { 7, 29, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1016 { 7, 29, 23}, { 8, 3, 1}, { 8, 3, 2}, { 8, 3, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1017 { 8, 3, 7}, { 8, 3, 8}, { 8, 3, 9}, { 8, 3, 10},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1018 { 8, 3, 11}, { 8, 3, 17}, { 8, 3, 19}, { 8, 3, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1019 { 8, 3, 23}, { 8, 3, 24}, { 8, 3, 27}, { 8, 3, 29},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1020 { 8, 4, 1}, { 8, 4, 2}, { 8, 4, 5}, { 8, 4, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1021 { 8, 4, 17}, { 8, 4, 19}, { 8, 4, 21}, { 8, 4, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1022 { 8, 4, 23}, { 8, 4, 24}, { 8, 5, 1}, { 8, 5, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1023 { 8, 5, 9}, { 8, 5, 23}, { 8, 7, 1}, { 8, 7, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1024 { 8, 7, 5}, { 8, 7, 9}, { 8, 7, 11}, { 8, 7, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1025 { 8, 7, 19}, { 8, 7, 21}, { 8, 7, 23}, { 8, 7, 24},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1026 { 8, 7, 29}, { 8, 10, 1}, { 8, 10, 2}, { 8, 10, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1027 { 8, 10, 9}, { 8, 10, 17}, { 8, 10, 19}, { 8, 10, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1028 { 8, 10, 22}, { 8, 10, 23}, { 8, 11, 1}, { 8, 11, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1029 { 8, 11, 5}, { 8, 11, 9}, { 8, 11, 21}, { 8, 11, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1030 { 8, 11, 23}, { 8, 11, 25}, { 8, 12, 1}, { 8, 13, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1031 { 8, 13, 2}, { 8, 13, 4}, { 8, 13, 5}, { 8, 13, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1032 { 8, 13, 11}, { 8, 13, 17}, { 8, 13, 19}, { 8, 13, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1033 { 8, 13, 23}, { 8, 14, 1}, { 8, 14, 5}, { 8, 14, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1034 { 8, 14, 23}, { 8, 18, 1}, { 8, 18, 5}, { 8, 18, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1035 { 8, 18, 19}, { 8, 18, 21}, { 8, 18, 23}, { 8, 19, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1036 { 8, 19, 5}, { 8, 19, 9}, { 8, 19, 19}, { 8, 19, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1037 { 8, 20, 1}, { 8, 20, 2}, { 8, 20, 3}, { 8, 20, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1038 { 8, 20, 8}, { 8, 20, 9}, { 8, 20, 10}, { 8, 20, 11},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1039 { 8, 20, 17}, { 8, 20, 19}, { 8, 20, 21}, { 8, 20, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1040 { 8, 20, 27}, { 8, 20, 29}, { 8, 21, 1}, { 8, 21, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1041 { 8, 21, 9}, { 8, 21, 19}, { 8, 21, 21}, { 8, 22, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1042 { 8, 23, 1}, { 8, 23, 5}, { 8, 23, 9}, { 8, 26, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1043 { 8, 26, 5}, { 8, 26, 9}, { 8, 26, 17}, { 8, 26, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1044 { 8, 27, 1}, { 8, 27, 5}, { 8, 27, 9}, { 8, 27, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1045 { 8, 27, 21}, { 8, 29, 1}, { 8, 29, 2}, { 8, 29, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1046 { 8, 29, 8}, { 8, 29, 9}, { 8, 29, 11}, { 8, 29, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1047 { 8, 29, 19}, { 8, 29, 21}, { 8, 29, 22}, { 8, 29, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1048 { 8, 29, 25}, { 8, 29, 27}, { 9, 3, 1}, { 9, 3, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1049 { 9, 3, 3}, { 9, 3, 4}, { 9, 3, 5}, { 9, 3, 8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1050 { 9, 3, 9}, { 9, 3, 10}, { 9, 3, 11}, { 9, 3, 12},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1051 { 9, 3, 17}, { 9, 3, 19}, { 9, 3, 21}, { 9, 3, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1052 { 9, 3, 27}, { 9, 4, 1}, { 9, 4, 2}, { 9, 4, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1053 { 9, 4, 9}, { 9, 4, 17}, { 9, 4, 19}, { 9, 4, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1054 { 9, 4, 22}, { 9, 4, 23}, { 9, 4, 27}, { 9, 5, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1055 { 9, 5, 2}, { 9, 5, 5}, { 9, 5, 19}, { 9, 7, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1056 { 9, 7, 2}, { 9, 7, 5}, { 9, 7, 8}, { 9, 7, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1057 { 9, 7, 11}, { 9, 7, 17}, { 9, 7, 19}, { 9, 7, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1058 { 9, 7, 23}, { 9, 7, 24}, { 9, 10, 1}, { 9, 10, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1059 { 9, 10, 5}, { 9, 10, 8}, { 9, 10, 9}, { 9, 10, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1060 { 9, 10, 19}, { 9, 10, 21}, { 9, 10, 22}, { 9, 10, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1061 { 9, 11, 1}, { 9, 11, 2}, { 9, 11, 5}, { 9, 11, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1062 { 9, 11, 19}, { 9, 11, 21}, { 9, 11, 22}, { 9, 11, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1063 { 9, 11, 27}, { 9, 12, 1}, { 9, 12, 5}, { 9, 13, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1064 { 9, 13, 2}, { 9, 13, 3}, { 9, 13, 5}, { 9, 13, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1065 { 9, 13, 17}, { 9, 13, 19}, { 9, 13, 21}, { 9, 13, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1066 { 9, 14, 1}, { 9, 14, 5}, { 9, 14, 22}, { 9, 15, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1067 { 9, 15, 22}, { 9, 18, 1}, { 9, 18, 2}, { 9, 18, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1068 { 9, 18, 9}, { 9, 18, 17}, { 9, 18, 19}, { 9, 19, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1069 { 9, 19, 5}, { 9, 20, 1}, { 9, 20, 2}, { 9, 20, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1070 { 9, 20, 8}, { 9, 20, 9}, { 9, 20, 10}, { 9, 20, 11},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1071 { 9, 20, 17}, { 9, 20, 19}, { 9, 20, 21}, { 9, 20, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1072 { 9, 20, 27}, { 9, 20, 28}, { 9, 21, 1}, { 9, 21, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1073 { 9, 21, 22}, { 9, 22, 1}, { 9, 23, 1}, { 9, 23, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1074 { 9, 23, 5}, { 9, 23, 9}, { 9, 23, 23}, { 9, 26, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1075 { 9, 26, 5}, { 9, 26, 9}, { 9, 26, 17}, { 9, 26, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1076 { 9, 26, 23}, { 9, 27, 1}, { 9, 27, 2}, { 9, 27, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1077 { 9, 27, 9}, { 9, 27, 17}, { 9, 27, 19}, { 9, 27, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1078 { 9, 29, 1}, { 9, 29, 2}, { 9, 29, 5}, { 9, 29, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1079 { 9, 29, 11}, { 9, 29, 17}, { 9, 29, 19}, { 9, 29, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1080 { 9, 29, 23}, { 9, 29, 24}, { 9, 29, 25}, { 10, 3, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1081 { 10, 3, 2}, { 10, 3, 5}, { 10, 3, 9}, { 10, 3, 11},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1082 { 10, 3, 17}, { 10, 3, 19}, { 10, 3, 21}, { 10, 3, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1083 { 10, 3, 23}, { 10, 3, 29}, { 10, 4, 1}, { 10, 4, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1084 { 10, 4, 5}, { 10, 4, 9}, { 10, 4, 17}, { 10, 4, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1085 { 10, 4, 21}, { 10, 4, 22}, { 10, 4, 23}, { 10, 5, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1086 { 10, 5, 2}, { 10, 5, 17}, { 10, 7, 1}, { 10, 7, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1087 { 10, 7, 5}, { 10, 7, 8}, { 10, 7, 9}, { 10, 7, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1088 { 10, 7, 21}, { 10, 7, 22}, { 10, 7, 23}, { 10, 10, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1089 { 10, 10, 23}, { 10, 11, 1}, { 10, 11, 2}, { 10, 11, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1090 { 10, 11, 19}, { 10, 11, 21}, { 10, 11, 22}, { 10, 11, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1091 { 10, 13, 1}, { 10, 13, 2}, { 10, 13, 5}, { 10, 13, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1092 { 10, 13, 17}, { 10, 13, 19}, { 10, 13, 23}, { 10, 18, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1093 { 10, 19, 1}, { 10, 19, 23}, { 10, 20, 1}, { 10, 20, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1094 { 10, 20, 5}, { 10, 20, 9}, { 10, 20, 17}, { 10, 20, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1095 { 10, 20, 23}, { 10, 26, 1}, { 10, 26, 23}, { 10, 27, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1096 { 10, 27, 5}, { 10, 27, 9}, { 10, 27, 17}, { 10, 27, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1097 { 10, 29, 1}, { 10, 29, 2}, { 10, 29, 5}, { 10, 29, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1098 { 10, 29, 17}, { 10, 29, 19}, { 10, 29, 21}, { 10, 29, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1099 { 11, 3, 1}, { 11, 3, 2}, { 11, 3, 4}, { 11, 3, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1100 { 11, 3, 8}, { 11, 3, 9}, { 11, 3, 10}, { 11, 3, 11},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1101 { 11, 3, 17}, { 11, 3, 19}, { 11, 3, 21}, { 11, 3, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1102 { 11, 3, 23}, { 11, 3, 27}, { 11, 4, 1}, { 11, 4, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1103 { 11, 4, 5}, { 11, 4, 9}, { 11, 4, 17}, { 11, 4, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1104 { 11, 4, 21}, { 11, 4, 22}, { 11, 4, 23}, { 11, 5, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1105 { 11, 5, 2}, { 11, 5, 5}, { 11, 5, 9}, { 11, 5, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1106 { 11, 5, 19}, { 11, 5, 21}, { 11, 5, 23}, { 11, 6, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1107 { 11, 6, 5}, { 11, 6, 9}, { 11, 6, 17}, { 11, 6, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1108 { 11, 7, 1}, { 11, 7, 2}, { 11, 7, 3}, { 11, 7, 4},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1109 { 11, 7, 5}, { 11, 7, 8}, { 11, 7, 9}, { 11, 7, 11},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1110 { 11, 7, 12}, { 11, 7, 17}, { 11, 7, 19}, { 11, 7, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1111 { 11, 7, 22}, { 11, 7, 23}, { 11, 7, 28}, { 11, 10, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1112 { 11, 10, 2}, { 11, 10, 5}, { 11, 10, 9}, { 11, 10, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1113 { 11, 10, 19}, { 11, 10, 21}, { 11, 10, 22}, { 11, 10, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1114 { 11, 11, 1}, { 11, 11, 2}, { 11, 11, 5}, { 11, 11, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1115 { 11, 11, 17}, { 11, 11, 19}, { 11, 11, 21}, { 11, 11, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1116 { 11, 11, 23}, { 11, 12, 1}, { 11, 12, 5}, { 11, 12, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1117 { 11, 12, 23}, { 11, 13, 1}, { 11, 13, 2}, { 11, 13, 3},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1118 { 11, 13, 5}, { 11, 13, 9}, { 11, 13, 11}, { 11, 13, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1119 { 11, 13, 19}, { 11, 13, 21}, { 11, 13, 23}, { 11, 13, 27},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1120 { 11, 14, 1}, { 11, 14, 2}, { 11, 14, 5}, { 11, 14, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1121 { 11, 14, 23}, { 11, 15, 1}, { 11, 15, 5}, { 11, 15, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1122 { 11, 15, 17}, { 11, 15, 21}, { 11, 15, 22}, { 11, 18, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1123 { 11, 18, 5}, { 11, 18, 9}, { 11, 18, 17}, { 11, 18, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1124 { 11, 18, 21}, { 11, 19, 1}, { 11, 19, 2}, { 11, 19, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1125 { 11, 19, 9}, { 11, 19, 17}, { 11, 19, 19}, { 11, 19, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1126 { 11, 19, 23}, { 11, 20, 1}, { 11, 20, 2}, { 11, 20, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1127 { 11, 20, 8}, { 11, 20, 9}, { 11, 20, 17}, { 11, 20, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1128 { 11, 20, 21}, { 11, 20, 23}, { 11, 20, 25}, { 11, 20, 27},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1129 { 11, 20, 28}, { 11, 21, 1}, { 11, 21, 22}, { 11, 22, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1130 { 11, 22, 2}, { 11, 22, 5}, { 11, 22, 9}, { 11, 22, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1131 { 11, 22, 23}, { 11, 23, 1}, { 11, 23, 2}, { 11, 23, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1132 { 11, 23, 9}, { 11, 23, 17}, { 11, 23, 19}, { 11, 23, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1133 { 11, 23, 23}, { 11, 26, 1}, { 11, 26, 2}, { 11, 26, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1134 { 11, 26, 17}, { 11, 26, 21}, { 11, 26, 23}, { 11, 27, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1135 { 11, 27, 2}, { 11, 27, 5}, { 11, 27, 9}, { 11, 27, 10},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1136 { 11, 27, 17}, { 11, 27, 19}, { 11, 27, 21}, { 11, 27, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1137 { 11, 29, 1}, { 11, 29, 2}, { 11, 29, 5}, { 11, 29, 8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1138 { 11, 29, 9}, { 11, 29, 16}, { 11, 29, 17}, { 11, 29, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1139 { 11, 29, 21}, { 11, 29, 23}, { 11, 29, 28}, { 12, 3, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1140 { 12, 3, 2}, { 12, 3, 4}, { 12, 3, 5}, { 12, 3, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1141 { 12, 3, 17}, { 12, 3, 19}, { 12, 3, 22}, { 12, 3, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1142 { 12, 3, 29}, { 12, 4, 1}, { 12, 4, 2}, { 12, 4, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1143 { 12, 4, 9}, { 12, 4, 17}, { 12, 4, 19}, { 12, 4, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1144 { 12, 4, 23}, { 12, 5, 23}, { 12, 7, 1}, { 12, 7, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1145 { 12, 7, 5}, { 12, 7, 9}, { 12, 7, 11}, { 12, 7, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1146 { 12, 7, 19}, { 12, 7, 22}, { 12, 7, 23}, { 12, 10, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1147 { 12, 10, 5}, { 12, 10, 9}, { 12, 12, 5}, { 12, 13, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1148 { 12, 13, 2}, { 12, 13, 5}, { 12, 13, 8}, { 12, 13, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1149 { 12, 13, 11}, { 12, 13, 17}, { 12, 13, 19}, { 12, 13, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1150 { 12, 14, 1}, { 12, 14, 2}, { 12, 14, 5}, { 12, 14, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1151 { 12, 15, 1}, { 12, 15, 22}, { 12, 18, 1}, { 12, 18, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1152 { 12, 18, 9}, { 12, 18, 17}, { 12, 18, 19}, { 12, 19, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1153 { 12, 20, 1}, { 12, 20, 2}, { 12, 20, 5}, { 12, 20, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1154 { 12, 20, 17}, { 12, 20, 19}, { 12, 20, 23}, { 12, 21, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1155 { 12, 21, 22}, { 12, 22, 1}, { 12, 23, 1}, { 12, 23, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1156 { 12, 26, 23}, { 12, 27, 1}, { 12, 27, 2}, { 12, 27, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1157 { 12, 27, 9}, { 12, 27, 11}, { 12, 27, 16}, { 12, 27, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1158 { 12, 27, 19}, { 12, 28, 1}, { 12, 28, 5}, { 12, 28, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1159 { 12, 28, 17}, { 12, 29, 1}, { 12, 29, 2}, { 12, 29, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1160 { 12, 29, 9}, { 12, 29, 17}, { 12, 29, 19}, { 12, 29, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1161 { 12, 29, 23}, { 13, 3, 1}, { 13, 3, 2}, { 13, 3, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1162 { 13, 3, 6}, { 13, 3, 7}, { 13, 3, 9}, { 13, 3, 10},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1163 { 13, 3, 11}, { 13, 3, 16}, { 13, 3, 17}, { 13, 3, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1164 { 13, 3, 21}, { 13, 3, 22}, { 13, 3, 23}, { 13, 3, 27},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1165 { 13, 3, 28}, { 13, 4, 1}, { 13, 4, 2}, { 13, 4, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1166 { 13, 4, 9}, { 13, 4, 17}, { 13, 4, 19}, { 13, 4, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1167 { 13, 4, 22}, { 13, 4, 23}, { 13, 5, 1}, { 13, 5, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1168 { 13, 5, 5}, { 13, 5, 9}, { 13, 5, 12}, { 13, 5, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1169 { 13, 5, 19}, { 13, 5, 21}, { 13, 5, 23}, { 13, 5, 27},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1170 { 13, 5, 29}, { 13, 6, 1}, { 13, 6, 5}, { 13, 6, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1171 { 13, 6, 19}, { 13, 7, 1}, { 13, 7, 2}, { 13, 7, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1172 { 13, 7, 6}, { 13, 7, 8}, { 13, 7, 9}, { 13, 7, 10},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1173 { 13, 7, 11}, { 13, 7, 17}, { 13, 7, 19}, { 13, 7, 20},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1174 { 13, 7, 21}, { 13, 7, 22}, { 13, 7, 23}, { 13, 7, 24},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1175 { 13, 7, 26}, { 13, 7, 28}, { 13, 10, 1}, { 13, 10, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1176 { 13, 10, 5}, { 13, 10, 9}, { 13, 10, 17}, { 13, 10, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1177 { 13, 10, 21}, { 13, 10, 23}, { 13, 11, 1}, { 13, 11, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1178 { 13, 11, 3}, { 13, 11, 5}, { 13, 11, 9}, { 13, 11, 11},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1179 { 13, 11, 12}, { 13, 11, 17}, { 13, 11, 19}, { 13, 11, 20},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1180 { 13, 11, 21}, { 13, 11, 22}, { 13, 11, 23}, { 13, 11, 27},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1181 { 13, 11, 28}, { 13, 11, 29}, { 13, 12, 1}, { 13, 12, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1182 { 13, 12, 9}, { 13, 12, 17}, { 13, 12, 19}, { 13, 12, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1183 { 13, 12, 22}, { 13, 13, 1}, { 13, 13, 2}, { 13, 13, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1184 { 13, 13, 9}, { 13, 13, 10}, { 13, 13, 11}, { 13, 13, 13},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1185 { 13, 13, 16}, { 13, 13, 17}, { 13, 13, 19}, { 13, 13, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1186 { 13, 13, 23}, { 13, 13, 25}, { 13, 14, 1}, { 13, 14, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1187 { 13, 14, 5}, { 13, 14, 9}, { 13, 14, 17}, { 13, 14, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1188 { 13, 14, 21}, { 13, 14, 22}, { 13, 14, 23}, { 13, 15, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1189 { 13, 15, 2}, { 13, 15, 5}, { 13, 15, 17}, { 13, 15, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1190 { 13, 15, 23}, { 13, 18, 1}, { 13, 18, 2}, { 13, 18, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1191 { 13, 18, 9}, { 13, 18, 17}, { 13, 18, 19}, { 13, 18, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1192 { 13, 18, 23}, { 13, 19, 1}, { 13, 19, 2}, { 13, 19, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1193 { 13, 19, 9}, { 13, 19, 17}, { 13, 19, 19}, { 13, 19, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1194 { 13, 19, 23}, { 13, 20, 1}, { 13, 20, 2}, { 13, 20, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1195 { 13, 20, 9}, { 13, 20, 10}, { 13, 20, 11}, { 13, 20, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1196 { 13, 20, 19}, { 13, 20, 21}, { 13, 20, 23}, { 13, 21, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1197 { 13, 21, 2}, { 13, 21, 5}, { 13, 21, 9}, { 13, 21, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1198 { 13, 21, 19}, { 13, 21, 22}, { 13, 21, 23}, { 13, 22, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1199 { 13, 22, 2}, { 13, 22, 5}, { 13, 22, 9}, { 13, 22, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1200 { 13, 22, 19}, { 13, 22, 23}, { 13, 23, 1}, { 13, 23, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1201 { 13, 23, 5}, { 13, 23, 9}, { 13, 23, 17}, { 13, 23, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1202 { 13, 23, 21}, { 13, 23, 23}, { 13, 26, 1}, { 13, 26, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1203 { 13, 26, 5}, { 13, 26, 9}, { 13, 26, 17}, { 13, 26, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1204 { 13, 26, 21}, { 13, 26, 23}, { 13, 26, 25}, { 13, 27, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1205 { 13, 27, 2}, { 13, 27, 5}, { 13, 27, 9}, { 13, 27, 15},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1206 { 13, 27, 17}, { 13, 27, 19}, { 13, 27, 21}, { 13, 27, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1207 { 13, 27, 24}, { 13, 27, 25}, { 13, 27, 26}, { 13, 27, 27},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1208 { 13, 27, 28}, { 13, 27, 29}, { 13, 28, 1}, { 13, 28, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1209 { 13, 28, 9}, { 13, 28, 17}, { 13, 28, 21}, { 13, 29, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1210 { 13, 29, 2}, { 13, 29, 5}, { 13, 29, 9}, { 13, 29, 10},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1211 { 13, 29, 11}, { 13, 29, 16}, { 13, 29, 17}, { 13, 29, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1212 { 13, 29, 21}, { 13, 29, 22}, { 13, 29, 23}, { 13, 29, 24},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1213 { 13, 29, 28}, { 14, 3, 1}, { 14, 3, 2}, { 14, 3, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1214 { 14, 3, 7}, { 14, 3, 8}, { 14, 3, 9}, { 14, 3, 11},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1215 { 14, 3, 17}, { 14, 3, 19}, { 14, 3, 21}, { 14, 3, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1216 { 14, 3, 23}, { 14, 3, 24}, { 14, 4, 1}, { 14, 4, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1217 { 14, 4, 5}, { 14, 4, 9}, { 14, 4, 17}, { 14, 4, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1218 { 14, 4, 21}, { 14, 4, 22}, { 14, 4, 23}, { 14, 5, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1219 { 14, 5, 2}, { 14, 5, 5}, { 14, 5, 7}, { 14, 5, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1220 { 14, 5, 17}, { 14, 5, 23}, { 14, 6, 1}, { 14, 6, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1221 { 14, 6, 9}, { 14, 7, 1}, { 14, 7, 2}, { 14, 7, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1222 { 14, 7, 9}, { 14, 7, 11}, { 14, 7, 17}, { 14, 7, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1223 { 14, 7, 21}, { 14, 7, 23}, { 14, 7, 24}, { 14, 10, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1224 { 14, 10, 2}, { 14, 10, 5}, { 14, 10, 9}, { 14, 10, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1225 { 14, 10, 19}, { 14, 10, 21}, { 14, 10, 23}, { 14, 11, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1226 { 14, 11, 5}, { 14, 11, 9}, { 14, 11, 17}, { 14, 11, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1227 { 14, 11, 22}, { 14, 11, 23}, { 14, 12, 1}, { 14, 13, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1228 { 14, 13, 2}, { 14, 13, 5}, { 14, 13, 9}, { 14, 13, 11},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1229 { 14, 13, 17}, { 14, 13, 19}, { 14, 13, 21}, { 14, 13, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1230 { 14, 13, 24}, { 14, 13, 25}, { 14, 13, 29}, { 14, 14, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1231 { 14, 14, 2}, { 14, 14, 9}, { 14, 14, 19}, { 14, 14, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1232 { 14, 14, 23}, { 14, 15, 1}, { 14, 15, 22}, { 14, 15, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1233 { 14, 18, 1}, { 14, 18, 5}, { 14, 18, 9}, { 14, 18, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1234 { 14, 18, 19}, { 14, 18, 21}, { 14, 18, 23}, { 14, 19, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1235 { 14, 19, 2}, { 14, 19, 5}, { 14, 19, 23}, { 14, 20, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1236 { 14, 20, 2}, { 14, 20, 5}, { 14, 20, 9}, { 14, 20, 10},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1237 { 14, 20, 11}, { 14, 20, 17}, { 14, 20, 19}, { 14, 20, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1238 { 14, 20, 23}, { 14, 21, 1}, { 14, 21, 22}, { 14, 22, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1239 { 14, 23, 1}, { 14, 23, 2}, { 14, 23, 5}, { 14, 23, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1240 { 14, 23, 17}, { 14, 23, 19}, { 14, 23, 21}, { 14, 26, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1241 { 14, 26, 5}, { 14, 26, 9}, { 14, 26, 17}, { 14, 27, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1242 { 14, 27, 2}, { 14, 27, 5}, { 14, 27, 9}, { 14, 27, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1243 { 14, 27, 19}, { 14, 27, 21}, { 14, 27, 23}, { 14, 29, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1244 { 14, 29, 2}, { 14, 29, 5}, { 14, 29, 8}, { 14, 29, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1245 { 14, 29, 11}, { 14, 29, 17}, { 14, 29, 19}, { 14, 29, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1246 { 14, 29, 23}, { 14, 29, 24}, { 14, 29, 27}, { 14, 29, 28},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1247 { 15, 3, 1}, { 15, 3, 2}, { 15, 3, 5}, { 15, 3, 7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1248 { 15, 3, 9}, { 15, 3, 12}, { 15, 3, 17}, { 15, 3, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1249 { 15, 3, 21}, { 15, 3, 22}, { 15, 3, 23}, { 15, 4, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1250 { 15, 4, 2}, { 15, 4, 5}, { 15, 4, 9}, { 15, 4, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1251 { 15, 4, 19}, { 15, 4, 21}, { 15, 4, 22}, { 15, 4, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1252 { 15, 5, 1}, { 15, 5, 5}, { 15, 5, 23}, { 15, 7, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1253 { 15, 7, 2}, { 15, 7, 5}, { 15, 7, 9}, { 15, 7, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1254 { 15, 7, 19}, { 15, 7, 21}, { 15, 7, 22}, { 15, 7, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1255 { 15, 10, 1}, { 15, 10, 23}, { 15, 11, 1}, { 15, 11, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1256 { 15, 13, 1}, { 15, 13, 2}, { 15, 13, 5}, { 15, 13, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1257 { 15, 13, 17}, { 15, 13, 19}, { 15, 13, 21}, { 15, 13, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1258 { 15, 13, 25}, { 15, 14, 1}, { 15, 14, 2}, { 15, 14, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1259 { 15, 14, 22}, { 15, 15, 1}, { 15, 15, 22}, { 15, 18, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1260 { 15, 18, 5}, { 15, 18, 9}, { 15, 18, 17}, { 15, 18, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1261 { 15, 19, 23}, { 15, 20, 1}, { 15, 20, 2}, { 15, 20, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1262 { 15, 20, 9}, { 15, 20, 17}, { 15, 20, 19}, { 15, 20, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1263 { 15, 21, 1}, { 15, 21, 22}, { 15, 21, 23}, { 15, 23, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1264 { 15, 26, 1}, { 15, 27, 1}, { 15, 27, 17}, { 15, 27, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1265 { 15, 27, 23}, { 15, 29, 1}, { 15, 29, 2}, { 15, 29, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1266 { 15, 29, 9}, { 15, 29, 17}, { 15, 29, 19}, { 15, 29, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1267 { 15, 29, 24}, { 15, 29, 29}, { 16, 3, 1}, { 16, 3, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1268 { 16, 3, 5}, { 16, 3, 7}, { 16, 3, 9}, { 16, 3, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1269 { 16, 3, 19}, { 16, 3, 21}, { 16, 3, 22}, { 16, 3, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1270 { 16, 3, 24}, { 16, 4, 1}, { 16, 4, 2}, { 16, 4, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1271 { 16, 4, 9}, { 16, 4, 17}, { 16, 4, 19}, { 16, 4, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1272 { 16, 4, 22}, { 16, 4, 23}, { 16, 5, 1}, { 16, 5, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1273 { 16, 5, 7}, { 16, 5, 9}, { 16, 5, 17}, { 16, 5, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1274 { 16, 7, 1}, { 16, 7, 2}, { 16, 7, 5}, { 16, 7, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1275 { 16, 7, 17}, { 16, 7, 19}, { 16, 7, 21}, { 16, 7, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1276 { 16, 7, 23}, { 16, 10, 1}, { 16, 10, 2}, { 16, 10, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1277 { 16, 10, 9}, { 16, 10, 17}, { 16, 10, 19}, { 16, 10, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1278 { 16, 10, 23}, { 16, 11, 1}, { 16, 11, 5}, { 16, 11, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1279 { 16, 12, 1}, { 16, 12, 5}, { 16, 12, 23}, { 16, 13, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1280 { 16, 13, 2}, { 16, 13, 5}, { 16, 13, 9}, { 16, 13, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1281 { 16, 13, 19}, { 16, 13, 21}, { 16, 13, 23}, { 16, 14, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1282 { 16, 14, 5}, { 16, 14, 9}, { 16, 14, 23}, { 16, 18, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1283 { 16, 18, 5}, { 16, 18, 9}, { 16, 18, 17}, { 16, 18, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1284 { 16, 18, 21}, { 16, 18, 23}, { 16, 19, 1}, { 16, 19, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1285 { 16, 20, 1}, { 16, 20, 2}, { 16, 20, 5}, { 16, 20, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1286 { 16, 20, 17}, { 16, 20, 19}, { 16, 20, 21}, { 16, 20, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1287 { 16, 21, 1}, { 16, 21, 22}, { 16, 22, 1}, { 16, 22, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1288 { 16, 23, 1}, { 16, 23, 5}, { 16, 23, 9}, { 16, 23, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1289 { 16, 23, 19}, { 16, 23, 21}, { 16, 23, 23}, { 16, 26, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1290 { 16, 26, 5}, { 16, 26, 9}, { 16, 26, 17}, { 16, 26, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1291 { 16, 27, 1}, { 16, 27, 2}, { 16, 27, 5}, { 16, 27, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1292 { 16, 27, 17}, { 16, 27, 19}, { 16, 27, 21}, { 16, 27, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1293 { 16, 29, 1}, { 16, 29, 2}, { 16, 29, 5}, { 16, 29, 8},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1294 { 16, 29, 9}, { 16, 29, 10}, { 16, 29, 17}, { 16, 29, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1295 { 16, 29, 21}, { 16, 29, 23}, { 17, 3, 1}, { 17, 3, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1296 { 17, 3, 5}, { 17, 3, 9}, { 17, 3, 17}, { 17, 3, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1297 { 17, 3, 21}, { 17, 3, 23}, { 17, 4, 1}, { 17, 4, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1298 { 17, 4, 5}, { 17, 4, 9}, { 17, 4, 17}, { 17, 4, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1299 { 17, 4, 21}, { 17, 4, 22}, { 17, 4, 23}, { 17, 5, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1300 { 17, 5, 2}, { 17, 5, 23}, { 17, 7, 1}, { 17, 7, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1301 { 17, 7, 5}, { 17, 7, 8}, { 17, 7, 9}, { 17, 7, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1302 { 17, 7, 19}, { 17, 7, 21}, { 17, 7, 22}, { 17, 7, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1303 { 17, 10, 1}, { 17, 10, 2}, { 17, 10, 5}, { 17, 10, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1304 { 17, 10, 17}, { 17, 10, 19}, { 17, 10, 21}, { 17, 10, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1305 { 17, 11, 1}, { 17, 11, 5}, { 17, 11, 9}, { 17, 11, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1306 { 17, 11, 19}, { 17, 11, 21}, { 17, 11, 22}, { 17, 11, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1307 { 17, 12, 1}, { 17, 13, 1}, { 17, 13, 2}, { 17, 13, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1308 { 17, 13, 9}, { 17, 13, 17}, { 17, 13, 19}, { 17, 13, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1309 { 17, 13, 23}, { 17, 14, 1}, { 17, 14, 2}, { 17, 14, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1310 { 17, 14, 9}, { 17, 14, 17}, { 17, 14, 23}, { 17, 15, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1311 { 17, 15, 23}, { 17, 18, 1}, { 17, 18, 9}, { 17, 19, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1312 { 17, 20, 1}, { 17, 20, 2}, { 17, 20, 5}, { 17, 20, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1313 { 17, 20, 17}, { 17, 20, 19}, { 17, 20, 21}, { 17, 20, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1314 { 17, 21, 1}, { 17, 21, 5}, { 17, 21, 9}, { 17, 21, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1315 { 17, 22, 1}, { 17, 22, 23}, { 17, 23, 1}, { 17, 23, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1316 { 17, 23, 5}, { 17, 23, 9}, { 17, 23, 17}, { 17, 23, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1317 { 17, 23, 21}, { 17, 23, 23}, { 17, 26, 1}, { 17, 26, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1318 { 17, 26, 9}, { 17, 26, 17}, { 17, 27, 1}, { 17, 27, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1319 { 17, 27, 5}, { 17, 27, 9}, { 17, 27, 17}, { 17, 27, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1320 { 17, 27, 23}, { 17, 29, 1}, { 17, 29, 2}, { 17, 29, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1321 { 17, 29, 9}, { 17, 29, 17}, { 17, 29, 19}, { 17, 29, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1322 { 17, 29, 23}, { 18, 3, 1}, { 18, 3, 2}, { 18, 3, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1323 { 18, 3, 9}, { 18, 3, 10}, { 18, 3, 17}, { 18, 3, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1324 { 18, 3, 21}, { 18, 3, 22}, { 18, 3, 23}, { 18, 4, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1325 { 18, 4, 2}, { 18, 4, 5}, { 18, 4, 9}, { 18, 4, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1326 { 18, 4, 19}, { 18, 4, 21}, { 18, 4, 22}, { 18, 4, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1327 { 18, 5, 1}, { 18, 5, 23}, { 18, 7, 1}, { 18, 7, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1328 { 18, 7, 5}, { 18, 7, 9}, { 18, 7, 11}, { 18, 7, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1329 { 18, 7, 19}, { 18, 7, 21}, { 18, 7, 22}, { 18, 7, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1330 { 18, 10, 1}, { 18, 10, 2}, { 18, 10, 5}, { 18, 10, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1331 { 18, 10, 17}, { 18, 10, 19}, { 18, 10, 21}, { 18, 10, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1332 { 18, 11, 1}, { 18, 11, 5}, { 18, 11, 22}, { 18, 12, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1333 { 18, 12, 5}, { 18, 13, 1}, { 18, 13, 2}, { 18, 13, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1334 { 18, 13, 9}, { 18, 13, 17}, { 18, 13, 19}, { 18, 13, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1335 { 18, 13, 23}, { 18, 13, 28}, { 18, 14, 1}, { 18, 14, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1336 { 18, 15, 1}, { 18, 18, 1}, { 18, 18, 5}, { 18, 18, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1337 { 18, 18, 23}, { 18, 19, 1}, { 18, 20, 1}, { 18, 20, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1338 { 18, 20, 5}, { 18, 20, 9}, { 18, 20, 17}, { 18, 20, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1339 { 18, 20, 21}, { 18, 20, 23}, { 18, 21, 1}, { 18, 21, 22},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1340 { 18, 22, 1}, { 18, 23, 1}, { 18, 23, 2}, { 18, 23, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1341 { 18, 23, 9}, { 18, 23, 17}, { 18, 23, 19}, { 18, 23, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1342 { 18, 26, 1}, { 18, 26, 5}, { 18, 26, 9}, { 18, 26, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1343 { 18, 26, 23}, { 18, 27, 1}, { 18, 27, 2}, { 18, 27, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1344 { 18, 27, 8}, { 18, 27, 9}, { 18, 27, 11}, { 18, 27, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1345 { 18, 27, 19}, { 18, 27, 21}, { 18, 28, 1}, { 18, 28, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1346 { 18, 28, 9}, { 18, 28, 17}, { 18, 28, 19}, { 18, 29, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1347 { 18, 29, 2}, { 18, 29, 5}, { 18, 29, 9}, { 18, 29, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1348 { 18, 29, 19}, { 18, 29, 21}, { 18, 29, 23}, { 19, 3, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1349 { 19, 3, 2}, { 19, 3, 3}, { 19, 3, 5}, { 19, 3, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1350 { 19, 3, 11}, { 19, 3, 17}, { 19, 3, 19}, { 19, 3, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1351 { 19, 3, 22}, { 19, 3, 23}, { 19, 3, 27}, { 19, 4, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1352 { 19, 4, 2}, { 19, 4, 5}, { 19, 4, 9}, { 19, 4, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1353 { 19, 4, 19}, { 19, 4, 21}, { 19, 4, 22}, { 19, 4, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1354 { 19, 5, 1}, { 19, 5, 2}, { 19, 7, 1}, { 19, 7, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1355 { 19, 7, 5}, { 19, 7, 9}, { 19, 7, 17}, { 19, 7, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1356 { 19, 7, 21}, { 19, 7, 22}, { 19, 7, 23}, { 19, 10, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1357 { 19, 10, 2}, { 19, 10, 5}, { 19, 10, 9}, { 19, 10, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1358 { 19, 10, 19}, { 19, 10, 21}, { 19, 10, 23}, { 19, 11, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1359 { 19, 11, 5}, { 19, 11, 9}, { 19, 11, 17}, { 19, 11, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1360 { 19, 11, 22}, { 19, 11, 23}, { 19, 12, 1}, { 19, 12, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1361 { 19, 12, 19}, { 19, 12, 21}, { 19, 13, 1}, { 19, 13, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1362 { 19, 13, 5}, { 19, 13, 9}, { 19, 13, 17}, { 19, 13, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1363 { 19, 13, 21}, { 19, 13, 23}, { 19, 14, 1}, { 19, 14, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1364 { 19, 18, 1}, { 19, 18, 5}, { 19, 19, 1}, { 19, 19, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1365 { 19, 19, 9}, { 19, 19, 19}, { 19, 19, 21}, { 19, 20, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1366 { 19, 20, 2}, { 19, 20, 5}, { 19, 20, 8}, { 19, 20, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1367 { 19, 20, 11}, { 19, 20, 17}, { 19, 20, 19}, { 19, 20, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1368 { 19, 20, 23}, { 19, 21, 1}, { 19, 21, 23}, { 19, 23, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1369 { 19, 23, 5}, { 19, 23, 9}, { 19, 23, 17}, { 19, 23, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1370 { 19, 26, 1}, { 19, 26, 5}, { 19, 26, 9}, { 19, 26, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1371 { 19, 26, 21}, { 19, 26, 23}, { 19, 27, 1}, { 19, 27, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1372 { 19, 27, 9}, { 19, 27, 17}, { 19, 27, 19}, { 19, 27, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1373 { 19, 29, 1}, { 19, 29, 2}, { 19, 29, 5}, { 19, 29, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1374 { 19, 29, 17}, { 19, 29, 19}, { 19, 29, 21}, { 19, 29, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1375 { 20, 3, 1}, { 20, 3, 2}, { 20, 3, 5}, { 20, 3, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1376 { 20, 3, 14}, { 20, 3, 17}, { 20, 3, 19}, { 20, 3, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1377 { 20, 3, 23}, { 20, 4, 1}, { 20, 4, 2}, { 20, 4, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1378 { 20, 4, 9}, { 20, 4, 17}, { 20, 4, 19}, { 20, 4, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1379 { 20, 4, 22}, { 20, 4, 23}, { 20, 5, 1}, { 20, 5, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1380 { 20, 7, 1}, { 20, 7, 2}, { 20, 7, 5}, { 20, 7, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1381 { 20, 7, 11}, { 20, 7, 17}, { 20, 7, 19}, { 20, 7, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1382 { 20, 7, 23}, { 20, 10, 1}, { 20, 10, 2}, { 20, 10, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1383 { 20, 10, 9}, { 20, 10, 17}, { 20, 10, 19}, { 20, 10, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1384 { 20, 10, 23}, { 20, 11, 1}, { 20, 11, 2}, { 20, 11, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1385 { 20, 11, 9}, { 20, 11, 17}, { 20, 11, 19}, { 20, 11, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1386 { 20, 11, 22}, { 20, 11, 23}, { 20, 12, 1}, { 20, 12, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1387 { 20, 12, 9}, { 20, 12, 19}, { 20, 13, 1}, { 20, 13, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1388 { 20, 13, 5}, { 20, 13, 9}, { 20, 13, 14}, { 20, 13, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1389 { 20, 13, 19}, { 20, 13, 21}, { 20, 13, 23}, { 20, 13, 27},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1390 { 20, 14, 1}, { 20, 14, 2}, { 20, 14, 5}, { 20, 14, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1391 { 20, 14, 21}, { 20, 14, 23}, { 20, 15, 1}, { 20, 15, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1392 { 20, 15, 5}, { 20, 15, 21}, { 20, 15, 23}, { 20, 18, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1393 { 20, 18, 2}, { 20, 18, 5}, { 20, 18, 9}, { 20, 18, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1394 { 20, 18, 21}, { 20, 18, 23}, { 20, 19, 1}, { 20, 19, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1395 { 20, 19, 9}, { 20, 19, 19}, { 20, 19, 21}, { 20, 20, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1396 { 20, 20, 2}, { 20, 20, 5}, { 20, 20, 9}, { 20, 20, 14},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1397 { 20, 20, 17}, { 20, 20, 21}, { 20, 20, 23}, { 20, 21, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1398 { 20, 21, 5}, { 20, 21, 9}, { 20, 21, 17}, { 20, 21, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1399 { 20, 22, 1}, { 20, 22, 2}, { 20, 22, 5}, { 20, 22, 9},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1400 { 20, 22, 23}, { 20, 23, 1}, { 20, 23, 2}, { 20, 23, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1401 { 20, 23, 9}, { 20, 23, 17}, { 20, 23, 19}, { 20, 23, 21},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1402 { 20, 23, 23}, { 20, 26, 1}, { 20, 26, 2}, { 20, 26, 5},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1403 { 20, 26, 9}, { 20, 26, 17}, { 20, 26, 21}, { 20, 26, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1404 { 20, 27, 1}, { 20, 27, 2}, { 20, 27, 5}, { 20, 27, 7},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1405 { 20, 27, 8}, { 20, 27, 9}, { 20, 27, 10}, { 20, 27, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1406 { 20, 27, 19}, { 20, 27, 21}, { 20, 27, 23}, { 20, 27, 27},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1407 { 20, 28, 1}, { 20, 28, 5}, { 20, 28, 9}, { 20, 28, 17},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1408 { 20, 28, 19}, { 20, 28, 23}, { 20, 29, 1}, { 20, 29, 2},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1409 { 20, 29, 5}, { 20, 29, 9}, { 20, 29, 17}, { 20, 29, 19},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1410 { 20, 29, 21}, { 20, 29, 23},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1411 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1412
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1413
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1414 static const unsigned short ks_table2[][4] =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1415 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1416 {0xa4bf, 1, 3, 1}, {0xa4c0, 1, 4, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1417 {0xa4c1, 1, 5, 1}, {0xa4c2, 1, 6, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1418 {0xa4c3, 1, 7, 1}, {0xa4c4, 1, 10, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1419 {0xa4c5, 1, 11, 1}, {0xa4c6, 1, 12, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1420 {0xa4c7, 1, 13, 1}, {0xa4c8, 1, 14, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1421 {0xa4c9, 1, 15, 1}, {0xa4ca, 1, 18, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1422 {0xa4cb, 1, 19, 1}, {0xa4cc, 1, 20, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1423 {0xa4cd, 1, 21, 1}, {0xa4ce, 1, 22, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1424 {0xa4cf, 1, 23, 1}, {0xa4d0, 1, 26, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1425 {0xa4d1, 1, 27, 1}, {0xa4d2, 1, 28, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1426 {0xa4d3, 1, 29, 1}, {0xa4a1, 2, 2, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1427 {0xa4a2, 3, 2, 1}, {0xa4a4, 4, 2, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1428 {0xa4a7, 5, 2, 1}, {0xa4a8, 6, 2, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1429 {0xa4a9, 7, 2, 1}, {0xa4b1, 8, 2, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1430 {0xa4b2, 9, 2, 1}, {0xa4b3, 10, 2, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1431 {0xa4b5, 11, 2, 1}, {0xa4b6, 12, 2, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1432 {0xa4b7, 13, 2, 1}, {0xa4b8, 14, 2, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1433 {0xa4b9, 15, 2, 1}, {0xa4ba, 16, 2, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1434 {0xa4bb, 17, 2, 1}, {0xa4bc, 18, 2, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1435 {0xa4bd, 19, 2, 1}, {0xa4be, 20, 2, 1},
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1436 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1437
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1438 /* Á¶ÇÕÇü Ãʼº - ¿Ï¼ºÇü ³¹ÀÚ º¯È¯
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1439 * conversion: initial sound of compound type - ??? of completion type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1440 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1441
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1442 static const char_u johab_fcon_to_wan[] =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1443 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1444 0,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1445 0xd4, 0xa1, 0xa2, 0xa4, 0xa7, /* (ä¿ò),¤¡,¤¢,¤¤,¤§ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1446 0xa8, 0xa9, 0xb1, 0xb2, 0xb3, /* ¤¨,¤©,¤±,¤²,¤³ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1447 0xb5, 0xb6, 0xb7, 0xb8, 0xb9, /* ¤µ,¤¶,¤·,¤¸,¤¹ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1448 0xba, 0xbb, 0xbc, 0xbd, 0xbe /* ¤º,¤»,¤¼,¤½,¤¾ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1449 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1450
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1451 /* Á¶ÇÕÇü Áß¼º -> ¿Ï¼ºÇü ³¹ÀÚ º¯È¯
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1452 * conversion: medial vowel of compound type - ??? of completion type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1453 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1454
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1455 static const char_u johab_vow_to_wan[] =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1456 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1457 0, 0,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1458 0xd4, 0xbf, 0xc0, 0xc1, 0xc2, 0xc3, /* (ä¿ò),¤¿,¤À,¤Á,¤Â,¤Ã */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1459 0, 0,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1460 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, /* ¤Ä,¤Å,¤Æ,¤Ç,¤Ç¤¿,¤Ç¤À */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1461 0, 0,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1462 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, /* ¤Ç¤Ó,¤Ë,¤Ì,¤Ì¤Ã,¤Ì¤Ä,¤Ì¤Ó */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1463 0, 0,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1464 0xd0, 0xd1, 0xd2, 0xd3 /* ¤Ð,¤Ñ,¤Ñ¤Ó,¤Ó */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1465 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1466
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1467 /* Á¶ÇÕÇü Á¾¼º -> ¿Ï¼ºÇü ³¹ÀÚ º¯È¯
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1468 * conversion: final consonant of compound type - ??? of completion type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1469 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1470
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1471 static const char_u johab_lcon_to_wan[] =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1472 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1473 0,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1474 0xd4, 0xa1, 0xa2, 0xa3, 0xa4, /* (ä¿ò), ¤¡, ¤¢, ¤¡¤µ, ¤¤ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1475 0xa5, 0xa6, 0xa7, 0xa9, 0xaa, /* ¤¤¤¸, ¤¤¤¾, ¤§, ¤©, ¤©¤¡ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1476 0xab, 0xac, 0xad, 0xae, 0xaf, /* ¤©¤±, ¤©¤², ¤©¤µ, ¤©¤¼, ¤©¤½ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1477 0xb0, 0xb1, 0, 0xb2, 0xb4, /* ¤©¤¾, ¤±, 0, ¤², ¤²¤µ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1478 0xb5, 0xb6, 0xb7, 0xb8, 0xba, /* ¤µ, ¤¶, ¤·, ¤¸, ¤º */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1479 0xbb, 0xbc, 0xbd, 0xbe /* ¤», ¤¼, ¤½, ¤¾ */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1480 };
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1481
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1482 static void
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
1483 convert_ks_to_3(
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
1484 const char_u *src,
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
1485 int *fp,
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
1486 int *mp,
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
1487 int *lp)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1488 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1489 int h = *src;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1490 int low = *(src + 1);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1491 int c;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1492 int i;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1493
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1494 if ((i = han_index(h, low)) >= 0
7216
310925215e17 commit https://github.com/vim/vim/commit/1be2ed6c11671eabefa0fc8600fd2af6cd3963e8
Christian Brabandt <cb@256bit.org>
parents: 7208
diff changeset
1495 && i < (int)(sizeof(ks_table1)/sizeof(ks_table1[0])))
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1496 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1497 *fp = ks_table1[i][0];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1498 *mp = ks_table1[i][1];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1499 *lp = ks_table1[i][2];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1500 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1501 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1502 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1503 c = (h << 8) | low;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1504 for (i = 0; i < 40; i++)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1505 if (ks_table2[i][0] == c)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1506 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1507 *fp = ks_table2[i][1];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1508 *mp = ks_table2[i][2];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1509 *lp = ks_table2[i][3];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1510 return;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1511 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1512 *fp = 0xff; /* ±×·¡ÇÈ ÄÚµå (graphic code) */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1513 *mp = h;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1514 *lp = low;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1515 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1516 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1517
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1518 static int
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
1519 convert_3_to_ks(
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
1520 int fv,
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
1521 int mv,
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
1522 int lv,
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
1523 char_u *des)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1524 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1525 char_u key[3];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1526 register int hi, lo, mi = 0, result, found;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1527
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1528 if (fv == 0xff)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1529 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1530 des[0] = mv;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1531 des[1] = lv;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1532 return 2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1533 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1534 key[0] = fv;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1535 key[1] = mv;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1536 key[2] = lv;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1537 lo = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1538 hi = sizeof(ks_table1)/3 - 1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1539 found = 0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1540 while (lo + 1 < hi)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1541 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1542 mi = (lo + hi)/2;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1543 result = STRNCMP(ks_table1[mi], key, 3);
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1544 if (result == 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1545 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1546 found = 1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1547 break;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1548 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1549 else if (result > 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1550 hi = mi;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1551 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1552 lo = mi;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1553 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1554 if (!found)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1555 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1556 if (!STRNCMP(ks_table1[lo], key, 3))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1557 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1558 found = 1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1559 mi = lo;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1560 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1561 if (!STRNCMP(ks_table1[hi], key, 3))
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1562 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1563 found = 1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1564 mi = hi;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1565 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1566 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1567 if (!found)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1568 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1569 for (mi = 0; mi < 40; mi++)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1570 if (ks_table2[mi][1] == fv && ks_table2[mi][2] == mv &&
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1571 ks_table2[mi][3] == lv)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1572 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1573 des[0] = (unsigned)(ks_table2[mi][0]) >> 8;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1574 des[1] = ks_table2[mi][0];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1575 return 2; /* found */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1576 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1577 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1578 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1579 {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1580 des[0] = mi / (0xff-0xa1) + 0xb0;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1581 des[1] = mi % (0xff-0xa1) + 0xa1;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1582 return 2; /* found */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1583 }
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1584
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1585 /* ¿Ï¼ºÇü Ç¥¿¡ ¾ø´Ù. ``KS C 5601 - 1992 Á¤º¸ ±³È¯¿ë ºÎÈ£ Çؼ³''
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1586 * 3.3 Àý¿¡ ¼³¸íµÈ ¹æ¹ýÀ¸·Î encoding ÇÑ´Ù.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1587 */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1588
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1589 *des++ = 0xa4; /* ä¿ò */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1590 *des++ = 0xd4;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1591 *des++ = 0xa4; /* ³¹ÀÚ´Â ¸ðµÎ a4 Çà¿¡ ÀÖ´Ù. */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1592 *des++ = johab_fcon_to_wan[fv];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1593 *des++ = 0xa4;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1594 *des++ = johab_vow_to_wan[mv];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1595 *des++ = 0xa4;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1596 *des++ = johab_lcon_to_wan[lv];
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1597 return 8;
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1598 }
7208
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1599
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1600 char_u *
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
1601 hangul_string_convert(char_u *buf, int *p_len)
7208
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1602 {
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1603 char_u *tmpbuf = NULL;
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1604 vimconv_T vc;
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1605
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1606 if (enc_utf8)
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1607 {
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1608 vc.vc_type = CONV_NONE;
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1609 if (convert_setup(&vc, (char_u *)"euc-kr", p_enc) == OK)
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1610 {
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1611 tmpbuf = string_convert(&vc, buf, p_len);
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1612 convert_setup(&vc, NULL, NULL);
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1613 }
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1614 }
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1615
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1616 return tmpbuf;
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1617 }
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1618
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1619 char_u *
7823
bcef391c101c commit https://github.com/vim/vim/commit/68c2f638e65d914dc6e84eb7ce2624f08af525c0
Christian Brabandt <cb@256bit.org>
parents: 7803
diff changeset
1620 hangul_composing_buffer_get(int *p_len)
7208
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1621 {
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1622 char_u *tmpbuf = NULL;
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1623
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1624 if (composing_hangul)
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1625 {
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1626 int len = 2;
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1627
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1628 tmpbuf = hangul_string_convert(composing_hangul_buffer, &len);
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1629 if (tmpbuf != NULL)
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1630 {
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1631 *p_len = len;
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1632 }
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1633 else
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1634 {
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1635 tmpbuf = vim_strnsave(composing_hangul_buffer, 2);
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1636 *p_len = 2;
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1637 }
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1638 }
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1639
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1640 return tmpbuf;
2c00f6b312bf commit https://github.com/vim/vim/commit/72f4cc4a987d123c0ed909c85b9a05f65cef7202
Christian Brabandt <cb@256bit.org>
parents: 6949
diff changeset
1641 }