annotate src/proto/getchar.pro @ 7074:c8efa41dd451 v7.4.849

commit https://github.com/vim/vim/commit/8b5f65a527c353b9942e362e719687c3a7592309 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 1 19:26:12 2015 +0200 patch 7.4.849 Problem: Moving the cursor in Insert mode starts new undo sequence. Solution: Add CTRL-G U to keep the undo sequence for the following cursor movement command. (Christian Brabandt)
author Christian Brabandt <cb@256bit.org>
date Tue, 01 Sep 2015 19:30:04 +0200
parents 975d96776111
children 21b0a39d13ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* getchar.c */
5649
beb037a6c270 updated for version 7.4.171
Bram Moolenaar <bram@vim.org>
parents: 3324
diff changeset
2 void free_buff __ARGS((buffheader_T *buf));
1148
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
3 char_u *get_recorded __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
4 char_u *get_inserted __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
5 int stuff_empty __ARGS((void));
5649
beb037a6c270 updated for version 7.4.171
Bram Moolenaar <bram@vim.org>
parents: 3324
diff changeset
6 int readbuf1_empty __ARGS((void));
1148
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
7 void typeahead_noflush __ARGS((int c));
3324
c9366ca36f6f updated for version 7.3.429
Bram Moolenaar <bram@vim.org>
parents: 2610
diff changeset
8 void flush_buffers __ARGS((int flush_typeahead));
1148
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
9 void ResetRedobuff __ARGS((void));
3324
c9366ca36f6f updated for version 7.3.429
Bram Moolenaar <bram@vim.org>
parents: 2610
diff changeset
10 void CancelRedo __ARGS((void));
1148
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
11 void saveRedobuff __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
12 void restoreRedobuff __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
13 void AppendToRedobuff __ARGS((char_u *s));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
14 void AppendToRedobuffLit __ARGS((char_u *str, int len));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
15 void AppendCharToRedobuff __ARGS((int c));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
16 void AppendNumberToRedobuff __ARGS((long n));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
17 void stuffReadbuff __ARGS((char_u *s));
6098
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents: 5649
diff changeset
18 void stuffRedoReadbuff __ARGS((char_u *s));
1148
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
19 void stuffReadbuffLen __ARGS((char_u *s, long len));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
20 void stuffReadbuffSpec __ARGS((char_u *s));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
21 void stuffcharReadbuff __ARGS((int c));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
22 void stuffnumReadbuff __ARGS((long n));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
23 int start_redo __ARGS((long count, int old_redo));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
24 int start_redo_ins __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
25 void stop_redo_ins __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
26 int ins_typebuf __ARGS((char_u *str, int noremap, int offset, int nottyped, int silent));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
27 void ins_char_typebuf __ARGS((int c));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
28 int typebuf_changed __ARGS((int tb_change_cnt));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
29 int typebuf_typed __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
30 int typebuf_maplen __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
31 void del_typebuf __ARGS((int len, int offset));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
32 int alloc_typebuf __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
33 void free_typebuf __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
34 int save_typebuf __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
35 void save_typeahead __ARGS((tasave_T *tp));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
36 void restore_typeahead __ARGS((tasave_T *tp));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
37 void openscript __ARGS((char_u *name, int directly));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
38 void close_all_scripts __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
39 int using_script __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
40 void before_blocking __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
41 void updatescript __ARGS((int c));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
42 int vgetc __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
43 int safe_vgetc __ARGS((void));
1389
bdcfe793d49f updated for version 7.1-104
vimboss
parents: 1148
diff changeset
44 int plain_vgetc __ARGS((void));
1148
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
45 int vpeekc __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
46 int vpeekc_nomap __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
47 int vpeekc_any __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
48 int char_avail __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
49 void vungetc __ARGS((int c));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
50 int inchar __ARGS((char_u *buf, int maxlen, long wait_time, int tb_change_cnt));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
51 int fix_input_buffer __ARGS((char_u *buf, int len, int script));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
52 int input_available __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
53 int do_map __ARGS((int maptype, char_u *arg, int mode, int abbrev));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
54 int get_map_mode __ARGS((char_u **cmdp, int forceit));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
55 void map_clear __ARGS((char_u *cmdp, char_u *arg, int forceit, int abbr));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
56 void map_clear_int __ARGS((buf_T *buf, int mode, int local, int abbr));
2610
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents: 1389
diff changeset
57 char_u *map_mode_to_chars __ARGS((int mode));
1148
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
58 int map_to_exists __ARGS((char_u *str, char_u *modechars, int abbr));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
59 int map_to_exists_mode __ARGS((char_u *rhs, int mode, int abbr));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
60 char_u *set_context_in_map_cmd __ARGS((expand_T *xp, char_u *cmd, char_u *arg, int forceit, int isabbrev, int isunmap, cmdidx_T cmdidx));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
61 int ExpandMappings __ARGS((regmatch_T *regmatch, int *num_file, char_u ***file));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
62 int check_abbr __ARGS((int c, char_u *ptr, int col, int mincol));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
63 char_u *vim_strsave_escape_csi __ARGS((char_u *p));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
64 void vim_unescape_csi __ARGS((char_u *p));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
65 int makemap __ARGS((FILE *fd, buf_T *buf));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
66 int put_escstr __ARGS((FILE *fd, char_u *strstart, int what));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
67 void check_map_keycodes __ARGS((void));
2610
6c05b5e5c1be updated for version 7.3.032
Bram Moolenaar <bram@vim.org>
parents: 1389
diff changeset
68 char_u *check_map __ARGS((char_u *keys, int mode, int exact, int ign_mod, int abbr, mapblock_T **mp_ptr, int *local_ptr));
1148
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
69 void init_mappings __ARGS((void));
e1dc2698121c updated for version 7.1a
vimboss
parents: 1081
diff changeset
70 void add_map __ARGS((char_u *map, int mode));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 /* vim: set ft=c : */