blob: cd30ed8c678dbad589442d98307ca4053762c607 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* ex_getln.c */
Bram Moolenaarc447d8d2018-12-18 21:56:28 +01002void cmdline_init(void);
Bram Moolenaare96a2492019-06-25 04:12:16 +02003char_u *getcmdline(int firstc, long count, int indent, int do_concat);
Bram Moolenaaref269542016-01-19 13:22:12 +01004char_u *getcmdline_prompt(int firstc, char_u *prompt, int attr, int xp_context, char_u *xp_arg);
5int text_locked(void);
6void text_locked_msg(void);
Bram Moolenaarf9e3e092019-01-13 23:38:42 +01007char *get_text_locked_msg(void);
Bram Moolenaaref269542016-01-19 13:22:12 +01008int curbuf_locked(void);
9int allbuf_locked(void);
Bram Moolenaare96a2492019-06-25 04:12:16 +020010char_u *getexline(int c, void *cookie, int indent, int do_concat);
11char_u *getexmodeline(int promptc, void *cookie, int indent, int do_concat);
Bram Moolenaaref269542016-01-19 13:22:12 +010012int cmdline_overstrike(void);
13int cmdline_at_end(void);
14colnr_T cmdline_getvcol_cursor(void);
Bram Moolenaar48ac6712019-07-04 20:26:21 +020015void free_arshape_buf(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010016void putcmdline(int c, int shift);
17void unputcmdline(void);
18int put_on_cmdline(char_u *str, int len, int redraw);
Bram Moolenaaref269542016-01-19 13:22:12 +010019void cmdline_paste_str(char_u *s, int literally);
20void redrawcmdline(void);
Bram Moolenaar29ae3772017-04-30 19:39:39 +020021void redrawcmdline_ex(int do_compute_cmdrow);
Bram Moolenaaref269542016-01-19 13:22:12 +010022void 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);
Bram Moolenaar33a80ee2016-09-05 21:51:14 +020033void set_cmd_context(expand_T *xp, char_u *str, int len, int col, int use_ccline);
Bram Moolenaaref269542016-01-19 13:22:12 +010034int 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);
Bram Moolenaar5f32ece2019-07-21 21:51:59 +020037int hist_char2type(int c);
Bram Moolenaaref269542016-01-19 13:22:12 +010038void init_history(void);
Bram Moolenaar5f32ece2019-07-21 21:51:59 +020039void clear_hist_entry(histentry_T *hisptr);
40int in_history(int type, char_u *str, int move_to_front, int sep, int writing);
Bram Moolenaaref269542016-01-19 13:22:12 +010041int get_histtype(char_u *name);
42void add_to_history(int histype, char_u *new_entry, int in_map, int sep);
43int get_history_idx(int histype);
Bram Moolenaaref269542016-01-19 13:22:12 +010044char_u *get_history_entry(int histype, int idx);
45int clr_history(int histype);
46int del_history_entry(int histype, char_u *str);
47int del_history_idx(int histype, int idx);
48void remove_key_from_history(void);
Bram Moolenaar45d2eea2016-06-06 21:07:52 +020049char_u *get_cmdline_str(void);
50int get_cmdline_pos(void);
51int set_cmdline_pos(int pos);
52int get_cmdline_type(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010053int get_list_range(char_u **str, int *num1, int *num2);
54void ex_history(exarg_T *eap);
Bram Moolenaar5f32ece2019-07-21 21:51:59 +020055int get_hislen(void);
56histentry_T *get_histentry(int hist_type);
57void set_histentry(int hist_type, histentry_T *entry);
58int *get_hisidx(int hist_type);
59int *get_hisnum(int hist_type);
Bram Moolenaaref269542016-01-19 13:22:12 +010060char_u *script_get(exarg_T *eap, char_u *cmd);
Bram Moolenaar071d4272004-06-13 20:20:40 +000061/* vim: set ft=c : */