blob: 6f8290423517fbfb96fcbbdf3686f268142fd92e [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);
Bram Moolenaar29ae3772017-04-30 19:39:39 +020022void redrawcmdline_ex(int do_compute_cmdrow);
Bram Moolenaaref269542016-01-19 13:22:12 +010023void redrawcmd(void);
24void compute_cmdrow(void);
25void gotocmdline(int clr);
26char_u *ExpandOne(expand_T *xp, char_u *str, char_u *orig, int options, int mode);
27void ExpandInit(expand_T *xp);
28void ExpandCleanup(expand_T *xp);
29void ExpandEscape(expand_T *xp, char_u *str, int numfiles, char_u **files, int options);
30char_u *vim_strsave_fnameescape(char_u *fname, int shell);
31void tilde_replace(char_u *orig_pat, int num_files, char_u **files);
32char_u *sm_gettail(char_u *s);
33char_u *addstar(char_u *fname, int len, int context);
Bram Moolenaar33a80ee2016-09-05 21:51:14 +020034void set_cmd_context(expand_T *xp, char_u *str, int len, int col, int use_ccline);
Bram Moolenaaref269542016-01-19 13:22:12 +010035int expand_cmdline(expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches);
36int ExpandGeneric(expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file, char_u *((*func)(expand_T *, int)), int escaped);
37void globpath(char_u *path, char_u *file, garray_T *ga, int expand_options);
38void init_history(void);
39int get_histtype(char_u *name);
40void add_to_history(int histype, char_u *new_entry, int in_map, int sep);
41int get_history_idx(int histype);
Bram Moolenaaref269542016-01-19 13:22:12 +010042char_u *get_history_entry(int histype, int idx);
43int clr_history(int histype);
44int del_history_entry(int histype, char_u *str);
45int del_history_idx(int histype, int idx);
46void remove_key_from_history(void);
Bram Moolenaar45d2eea2016-06-06 21:07:52 +020047char_u *get_cmdline_str(void);
48int get_cmdline_pos(void);
49int set_cmdline_pos(int pos);
50int get_cmdline_type(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010051int get_list_range(char_u **str, int *num1, int *num2);
52void ex_history(exarg_T *eap);
53void prepare_viminfo_history(int asklen, int writing);
54int read_viminfo_history(vir_T *virp, int writing);
Bram Moolenaar46bbb0c2016-06-11 21:04:39 +020055void handle_viminfo_history(garray_T *values, int writing);
Bram Moolenaar1fd99c12016-06-09 20:24:28 +020056void finish_viminfo_history(vir_T *virp);
Bram Moolenaaref269542016-01-19 13:22:12 +010057void write_viminfo_history(FILE *fp, int merge);
58void cmd_pchar(int c, int offset);
59int cmd_gchar(int offset);
60char_u *script_get(exarg_T *eap, char_u *cmd);
Bram Moolenaar071d4272004-06-13 20:20:40 +000061/* vim: set ft=c : */