Mercurial > vim
annotate src/proto/mbyte.pro @ 3516:ebec52bc2800 v7.3.519
updated for version 7.3.519
Problem: When completefunction returns it cannot indicate end of completion
mode.
Solution: Recognize completefunction returning -3. (Mtsushita Shougo)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 18 May 2012 16:35:21 +0200 |
parents | 7d4e5e31d8c1 |
children | 43c15135926f |
rev | line source |
---|---|
7 | 1 /* mbyte.c */ |
1125 | 2 int enc_canon_props __ARGS((char_u *name)); |
3 char_u *mb_init __ARGS((void)); | |
4 int bomb_size __ARGS((void)); | |
3002 | 5 void remove_bom __ARGS((char_u *s)); |
1125 | 6 int mb_get_class __ARGS((char_u *p)); |
7 int dbcs_class __ARGS((unsigned lead, unsigned trail)); | |
8 int latin_char2len __ARGS((int c)); | |
9 int latin_char2bytes __ARGS((int c, char_u *buf)); | |
10 int latin_ptr2len __ARGS((char_u *p)); | |
1903 | 11 int latin_ptr2len_len __ARGS((char_u *p, int size)); |
1125 | 12 int utf_char2cells __ARGS((int c)); |
13 int latin_ptr2cells __ARGS((char_u *p)); | |
14 int utf_ptr2cells __ARGS((char_u *p)); | |
15 int dbcs_ptr2cells __ARGS((char_u *p)); | |
1903 | 16 int latin_ptr2cells_len __ARGS((char_u *p, int size)); |
1125 | 17 int latin_char2cells __ARGS((int c)); |
2338
da6ec32d8d8f
Added strwidth() and strchars() functions.
Bram Moolenaar <bram@vim.org>
parents:
2278
diff
changeset
|
18 int mb_string2cells __ARGS((char_u *p, int len)); |
1378 | 19 int latin_off2cells __ARGS((unsigned off, unsigned max_off)); |
20 int dbcs_off2cells __ARGS((unsigned off, unsigned max_off)); | |
21 int utf_off2cells __ARGS((unsigned off, unsigned max_off)); | |
1125 | 22 int latin_ptr2char __ARGS((char_u *p)); |
23 int utf_ptr2char __ARGS((char_u *p)); | |
24 int mb_ptr2char_adv __ARGS((char_u **pp)); | |
25 int mb_cptr2char_adv __ARGS((char_u **pp)); | |
26 int arabic_combine __ARGS((int one, int two)); | |
27 int arabic_maycombine __ARGS((int two)); | |
28 int utf_composinglike __ARGS((char_u *p1, char_u *p2)); | |
29 int utfc_ptr2char __ARGS((char_u *p, int *pcc)); | |
30 int utfc_ptr2char_len __ARGS((char_u *p, int *pcc, int maxlen)); | |
31 int utfc_char2bytes __ARGS((int off, char_u *buf)); | |
32 int utf_ptr2len __ARGS((char_u *p)); | |
33 int utf_byte2len __ARGS((int b)); | |
34 int utf_ptr2len_len __ARGS((char_u *p, int size)); | |
35 int utfc_ptr2len __ARGS((char_u *p)); | |
36 int utfc_ptr2len_len __ARGS((char_u *p, int size)); | |
37 int utf_char2len __ARGS((int c)); | |
38 int utf_char2bytes __ARGS((int c, char_u *buf)); | |
39 int utf_iscomposing __ARGS((int c)); | |
40 int utf_printable __ARGS((int c)); | |
41 int utf_class __ARGS((int c)); | |
42 int utf_fold __ARGS((int a)); | |
43 int utf_toupper __ARGS((int a)); | |
44 int utf_islower __ARGS((int a)); | |
45 int utf_tolower __ARGS((int a)); | |
46 int utf_isupper __ARGS((int a)); | |
47 int mb_strnicmp __ARGS((char_u *s1, char_u *s2, size_t nn)); | |
48 void show_utf8 __ARGS((void)); | |
49 int latin_head_off __ARGS((char_u *base, char_u *p)); | |
50 int dbcs_head_off __ARGS((char_u *base, char_u *p)); | |
51 int dbcs_screen_head_off __ARGS((char_u *base, char_u *p)); | |
52 int utf_head_off __ARGS((char_u *base, char_u *p)); | |
53 void mb_copy_char __ARGS((char_u **fp, char_u **tp)); | |
54 int mb_off_next __ARGS((char_u *base, char_u *p)); | |
55 int mb_tail_off __ARGS((char_u *base, char_u *p)); | |
56 void utf_find_illegal __ARGS((void)); | |
57 int utf_valid_string __ARGS((char_u *s, char_u *end)); | |
58 int dbcs_screen_tail_off __ARGS((char_u *base, char_u *p)); | |
59 void mb_adjust_cursor __ARGS((void)); | |
2933 | 60 void mb_adjustpos __ARGS((buf_T *buf, pos_T *lp)); |
1125 | 61 char_u *mb_prevptr __ARGS((char_u *line, char_u *p)); |
62 int mb_charlen __ARGS((char_u *str)); | |
63 int mb_charlen_len __ARGS((char_u *str, int len)); | |
64 char_u *mb_unescape __ARGS((char_u **pp)); | |
65 int mb_lefthalve __ARGS((int row, int col)); | |
66 int mb_fix_col __ARGS((int col, int row)); | |
67 char_u *enc_skip __ARGS((char_u *p)); | |
68 char_u *enc_canonize __ARGS((char_u *enc)); | |
69 char_u *enc_locale __ARGS((void)); | |
70 int encname2codepage __ARGS((char_u *name)); | |
71 void *my_iconv_open __ARGS((char_u *to, char_u *from)); | |
72 int iconv_enabled __ARGS((int verbose)); | |
73 void iconv_end __ARGS((void)); | |
74 void im_set_active __ARGS((int active)); | |
75 void xim_set_focus __ARGS((int focus)); | |
76 void im_set_position __ARGS((int row, int col)); | |
77 void xim_set_preedit __ARGS((void)); | |
2278
0b3be97064e5
Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents:
1903
diff
changeset
|
78 int im_get_feedback_attr __ARGS((int col)); |
1125 | 79 void xim_init __ARGS((void)); |
2278
0b3be97064e5
Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents:
1903
diff
changeset
|
80 void im_shutdown __ARGS((void)); |
0b3be97064e5
Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents:
1903
diff
changeset
|
81 int im_xim_isvalid_imactivate __ARGS((void)); |
1125 | 82 void xim_reset __ARGS((void)); |
83 int xim_queue_key_press_event __ARGS((GdkEventKey *event, int down)); | |
84 int im_get_status __ARGS((void)); | |
1668 | 85 int preedit_get_status __ARGS((void)); |
1125 | 86 int im_is_preediting __ARGS((void)); |
2278
0b3be97064e5
Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents:
1903
diff
changeset
|
87 void xim_set_status_area __ARGS((void)); |
0b3be97064e5
Various small fixes from Dominique Pelle.
Bram Moolenaar <bram@vim.org>
parents:
1903
diff
changeset
|
88 int xim_get_status_area_height __ARGS((void)); |
1125 | 89 int convert_setup __ARGS((vimconv_T *vcp, char_u *from, char_u *to)); |
1903 | 90 int convert_setup_ext __ARGS((vimconv_T *vcp, char_u *from, int from_unicode_is_utf8, char_u *to, int to_unicode_is_utf8)); |
1125 | 91 int convert_input __ARGS((char_u *ptr, int len, int maxlen)); |
92 int convert_input_safe __ARGS((char_u *ptr, int len, int maxlen, char_u **restp, int *restlenp)); | |
93 char_u *string_convert __ARGS((vimconv_T *vcp, char_u *ptr, int *lenp)); | |
94 char_u *string_convert_ext __ARGS((vimconv_T *vcp, char_u *ptr, int *lenp, int *unconvlenp)); | |
7 | 95 /* vim: set ft=c : */ |