blob: afc875c598520c2e055e97e2ea7a277677448724 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* ex_getln.c */
Bram Moolenaaref269542016-01-19 13:22:12 +01002char_u *getcmdline(int firstc, long count, int indent);
3char_u *getcmdline_prompt(int firstc, char_u *prompt, int attr, int xp_context, char_u *xp_arg);
4int text_locked(void);
5void text_locked_msg(void);
Bram Moolenaar5a497892016-09-03 16:29:04 +02006char_u *get_text_locked_msg(void);
Bram Moolenaaref269542016-01-19 13:22:12 +01007int curbuf_locked(void);
8int allbuf_locked(void);
9char_u *getexline(int c, void *cookie, int indent);
10char_u *getexmodeline(int promptc, void *cookie, int indent);
11int cmdline_overstrike(void);
12int cmdline_at_end(void);
13colnr_T cmdline_getvcol_cursor(void);
14void free_cmdline_buf(void);
15void putcmdline(int c, int shift);
16void unputcmdline(void);
17int put_on_cmdline(char_u *str, int len, int redraw);
18char_u *save_cmdline_alloc(void);
19void restore_cmdline_alloc(char_u *p);
20void cmdline_paste_str(char_u *s, int literally);
21void redrawcmdline(void);
22void redrawcmd(void);
23void compute_cmdrow(void);
24void gotocmdline(int clr);
25char_u *ExpandOne(expand_T *xp, char_u *str, char_u *orig, int options, int mode);
26void ExpandInit(expand_T *xp);
27void ExpandCleanup(expand_T *xp);
28void ExpandEscape(expand_T *xp, char_u *str, int numfiles, char_u **files, int options);
29char_u *vim_strsave_fnameescape(char_u *fname, int shell);
30void tilde_replace(char_u *orig_pat, int num_files, char_u **files);
31char_u *sm_gettail(char_u *s);
32char_u *addstar(char_u *fname, int len, int context);
33void set_cmd_context(expand_T *xp, char_u *str, int len, int col);
34int expand_cmdline(expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches);
35int ExpandGeneric(expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file, char_u *((*func)(expand_T *, int)), int escaped);
36void globpath(char_u *path, char_u *file, garray_T *ga, int expand_options);
37void init_history(void);
38int get_histtype(char_u *name);
39void add_to_history(int histype, char_u *new_entry, int in_map, int sep);
40int get_history_idx(int histype);
Bram Moolenaaref269542016-01-19 13:22:12 +010041char_u *get_history_entry(int histype, int idx);
42int clr_history(int histype);
43int del_history_entry(int histype, char_u *str);
44int del_history_idx(int histype, int idx);
45void remove_key_from_history(void);
Bram Moolenaar45d2eea2016-06-06 21:07:52 +020046char_u *get_cmdline_str(void);
47int get_cmdline_pos(void);
48int set_cmdline_pos(int pos);
49int get_cmdline_type(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010050int get_list_range(char_u **str, int *num1, int *num2);
51void ex_history(exarg_T *eap);
52void prepare_viminfo_history(int asklen, int writing);
53int read_viminfo_history(vir_T *virp, int writing);
Bram Moolenaar46bbb0c2016-06-11 21:04:39 +020054void handle_viminfo_history(garray_T *values, int writing);
Bram Moolenaar1fd99c12016-06-09 20:24:28 +020055void finish_viminfo_history(vir_T *virp);
Bram Moolenaaref269542016-01-19 13:22:12 +010056void write_viminfo_history(FILE *fp, int merge);
57void cmd_pchar(int c, int offset);
58int cmd_gchar(int offset);
59char_u *script_get(exarg_T *eap, char_u *cmd);
Bram Moolenaar071d4272004-06-13 20:20:40 +000060/* vim: set ft=c : */