Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* getchar.c */ |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 2 | void free_buff(buffheader_T *buf); |
| 3 | char_u *get_recorded(void); |
| 4 | char_u *get_inserted(void); |
| 5 | int stuff_empty(void); |
| 6 | int readbuf1_empty(void); |
| 7 | void typeahead_noflush(int c); |
Bram Moolenaar | 6a2633b | 2018-10-07 23:16:36 +0200 | [diff] [blame] | 8 | void flush_buffers(flush_buffers_T flush_typeahead); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 9 | void ResetRedobuff(void); |
| 10 | void CancelRedo(void); |
Bram Moolenaar | d4863aa | 2017-04-07 19:50:12 +0200 | [diff] [blame] | 11 | void saveRedobuff(save_redo_T *save_redo); |
| 12 | void restoreRedobuff(save_redo_T *save_redo); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 13 | void AppendToRedobuff(char_u *s); |
| 14 | void AppendToRedobuffLit(char_u *str, int len); |
| 15 | void AppendCharToRedobuff(int c); |
| 16 | void AppendNumberToRedobuff(long n); |
| 17 | void stuffReadbuff(char_u *s); |
| 18 | void stuffRedoReadbuff(char_u *s); |
| 19 | void stuffReadbuffLen(char_u *s, long len); |
| 20 | void stuffReadbuffSpec(char_u *s); |
| 21 | void stuffcharReadbuff(int c); |
| 22 | void stuffnumReadbuff(long n); |
| 23 | int start_redo(long count, int old_redo); |
| 24 | int start_redo_ins(void); |
| 25 | void stop_redo_ins(void); |
| 26 | int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, int silent); |
| 27 | void ins_char_typebuf(int c); |
| 28 | int typebuf_changed(int tb_change_cnt); |
| 29 | int typebuf_typed(void); |
| 30 | int typebuf_maplen(void); |
| 31 | void del_typebuf(int len, int offset); |
| 32 | int alloc_typebuf(void); |
| 33 | void free_typebuf(void); |
| 34 | int save_typebuf(void); |
| 35 | void save_typeahead(tasave_T *tp); |
| 36 | void restore_typeahead(tasave_T *tp); |
| 37 | void openscript(char_u *name, int directly); |
| 38 | void close_all_scripts(void); |
| 39 | int using_script(void); |
| 40 | void before_blocking(void); |
| 41 | void updatescript(int c); |
| 42 | int vgetc(void); |
| 43 | int safe_vgetc(void); |
| 44 | int plain_vgetc(void); |
| 45 | int vpeekc(void); |
| 46 | int vpeekc_nomap(void); |
| 47 | int vpeekc_any(void); |
| 48 | int char_avail(void); |
| 49 | void vungetc(int c); |
Bram Moolenaar | 6bff02e | 2016-08-16 22:50:55 +0200 | [diff] [blame] | 50 | int fix_input_buffer(char_u *buf, int len); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 51 | int input_available(void); |
| 52 | int do_map(int maptype, char_u *arg, int mode, int abbrev); |
| 53 | int get_map_mode(char_u **cmdp, int forceit); |
| 54 | void map_clear(char_u *cmdp, char_u *arg, int forceit, int abbr); |
| 55 | void map_clear_int(buf_T *buf, int mode, int local, int abbr); |
| 56 | char_u *map_mode_to_chars(int mode); |
| 57 | int map_to_exists(char_u *str, char_u *modechars, int abbr); |
| 58 | int map_to_exists_mode(char_u *rhs, int mode, int abbr); |
| 59 | char_u *set_context_in_map_cmd(expand_T *xp, char_u *cmd, char_u *arg, int forceit, int isabbrev, int isunmap, cmdidx_T cmdidx); |
| 60 | int ExpandMappings(regmatch_T *regmatch, int *num_file, char_u ***file); |
| 61 | int check_abbr(int c, char_u *ptr, int col, int mincol); |
| 62 | char_u *vim_strsave_escape_csi(char_u *p); |
| 63 | void vim_unescape_csi(char_u *p); |
| 64 | int makemap(FILE *fd, buf_T *buf); |
| 65 | int put_escstr(FILE *fd, char_u *strstart, int what); |
| 66 | void check_map_keycodes(void); |
| 67 | char_u *check_map(char_u *keys, int mode, int exact, int ign_mod, int abbr, mapblock_T **mp_ptr, int *local_ptr); |
| 68 | void init_mappings(void); |
| 69 | void add_map(char_u *map, int mode); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 70 | /* vim: set ft=c : */ |