annotate src/proto/getchar.pro @ 32669:448aef880252

normalize line endings
author Christian Brabandt <cb@256bit.org>
date Mon, 26 Jun 2023 09:54:34 +0200
parents ffbae151e462
children 695b50472e85
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32669
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
1 /* getchar.c */
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
2 char_u *get_recorded(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
3 char_u *get_inserted(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
4 int stuff_empty(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
5 int readbuf1_empty(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
6 void typeahead_noflush(int c);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
7 void flush_buffers(flush_buffers_T flush_typeahead);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
8 void ResetRedobuff(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
9 void CancelRedo(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
10 void saveRedobuff(save_redo_T *save_redo);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
11 void restoreRedobuff(save_redo_T *save_redo);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
12 void AppendToRedobuff(char_u *s);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
13 void AppendToRedobuffLit(char_u *str, int len);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
14 void AppendToRedobuffSpec(char_u *s);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
15 void AppendCharToRedobuff(int c);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
16 void AppendNumberToRedobuff(long n);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
17 void stuffReadbuff(char_u *s);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
18 void stuffRedoReadbuff(char_u *s);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
19 void stuffReadbuffSpec(char_u *s);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
20 void stuffcharReadbuff(int c);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
21 void stuffnumReadbuff(long n);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
22 void stuffescaped(char_u *arg, int literally);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
23 int start_redo(long count, int old_redo);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
24 int start_redo_ins(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
25 void stop_redo_ins(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
26 int noremap_keys(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
27 int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, int silent);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
28 int ins_char_typebuf(int c, int modifiers);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
29 int typebuf_changed(int tb_change_cnt);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
30 int typebuf_typed(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
31 int typebuf_maplen(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
32 void del_typebuf(int len, int offset);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
33 void ungetchars(int len);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
34 int save_typebuf(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
35 void save_typeahead(tasave_T *tp);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
36 void restore_typeahead(tasave_T *tp, int overwrite);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
37 void openscript(char_u *name, int directly);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
38 void close_all_scripts(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
39 int using_script(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
40 void before_blocking(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
41 int merge_modifyOtherKeys(int c_arg, int *modifiers);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
42 int vgetc(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
43 int safe_vgetc(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
44 int plain_vgetc(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
45 int vpeekc(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
46 int vpeekc_nomap(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
47 int vpeekc_any(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
48 int char_avail(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
49 void f_getchar(typval_T *argvars, typval_T *rettv);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
50 void f_getcharstr(typval_T *argvars, typval_T *rettv);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
51 void f_getcharmod(typval_T *argvars, typval_T *rettv);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
52 void parse_queued_messages(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
53 void vungetc(int c);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
54 int fix_input_buffer(char_u *buf, int len);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
55 int input_available(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
56 void may_add_last_used_map_to_redobuff(void);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
57 int do_cmdkey_command(int key, int flags);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
58 void reset_last_used_map(mapblock_T *mp);
448aef880252 normalize line endings
Christian Brabandt <cb@256bit.org>
parents: 32369
diff changeset
59 /* vim: set ft=c : */