Mercurial > vim
annotate src/proto/hangulin.pro @ 10926:7dab3a9cb933 v8.0.0352
patch 8.0.0352: not easy to see when a typval needs to be cleared
commit https://github.com/vim/vim/commit/f06e5a549f42396be3478ccc1b5f03be64e1173e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 23 14:25:17 2017 +0100
patch 8.0.0352: not easy to see when a typval needs to be cleared
Problem: The condition for when a typval needs to be cleared is too
complicated.
Solution: Init the type to VAR_UNKNOWN and clear it always.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 23 Feb 2017 14:30:05 +0100 |
parents | 21b0a39d13ed |
children | d1e77015f60b |
rev | line source |
---|---|
7 | 1 /* hangulin.c */ |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7208
diff
changeset
|
2 int hangul_input_state_get(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7208
diff
changeset
|
3 void hangul_input_state_set(int state); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7208
diff
changeset
|
4 int im_get_status(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7208
diff
changeset
|
5 void hangul_input_state_toggle(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7208
diff
changeset
|
6 void hangul_keyboard_set(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7208
diff
changeset
|
7 int hangul_input_process(char_u *s, int len); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7208
diff
changeset
|
8 void hangul_input_clear(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7208
diff
changeset
|
9 char_u *hangul_string_convert(char_u *buf, int *p_len); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
7208
diff
changeset
|
10 char_u *hangul_composing_buffer_get(int *p_len); |
7 | 11 /* vim: set ft=c : */ |