blob: 6c93ac755a24ca017f1cc6963710b07182f13d45 [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 Moolenaarc97f9a52021-12-28 20:59:56 +00003char_u *getcmdline(int firstc, long count, int indent, getline_opt_T 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);
Bram Moolenaar7bae0b12019-11-21 22:14:18 +01005int check_opt_wim(void);
Bram Moolenaar71223e22022-05-30 15:23:09 +01006int text_locked(void);
Bram Moolenaaref269542016-01-19 13:22:12 +01007void text_locked_msg(void);
Bram Moolenaarf9e3e092019-01-13 23:38:42 +01008char *get_text_locked_msg(void);
Bram Moolenaar71223e22022-05-30 15:23:09 +01009int text_or_buf_locked(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010010int curbuf_locked(void);
11int allbuf_locked(void);
Bram Moolenaar66250c92020-08-20 15:02:42 +020012char_u *getexline(int c, void *cookie, int indent, getline_opt_T options);
13char_u *getexmodeline(int promptc, void *cookie, int indent, getline_opt_T options);
Bram Moolenaaref269542016-01-19 13:22:12 +010014int cmdline_overstrike(void);
15int cmdline_at_end(void);
16colnr_T cmdline_getvcol_cursor(void);
Bram Moolenaar66b51422019-08-18 21:44:12 +020017int realloc_cmdbuff(int len);
Bram Moolenaar48ac6712019-07-04 20:26:21 +020018void free_arshape_buf(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010019void putcmdline(int c, int shift);
20void unputcmdline(void);
21int put_on_cmdline(char_u *str, int len, int redraw);
Bram Moolenaaref269542016-01-19 13:22:12 +010022void cmdline_paste_str(char_u *s, int literally);
23void redrawcmdline(void);
Bram Moolenaar29ae3772017-04-30 19:39:39 +020024void redrawcmdline_ex(int do_compute_cmdrow);
Bram Moolenaaref269542016-01-19 13:22:12 +010025void redrawcmd(void);
26void compute_cmdrow(void);
Bram Moolenaar66b51422019-08-18 21:44:12 +020027void cursorcmd(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010028void gotocmdline(int clr);
Bram Moolenaar21c1a0c2021-10-17 17:20:23 +010029char_u *vim_strsave_fnameescape(char_u *fname, int what);
Bram Moolenaar66b51422019-08-18 21:44:12 +020030void escape_fname(char_u **pp);
Bram Moolenaaref269542016-01-19 13:22:12 +010031void tilde_replace(char_u *orig_pat, int num_files, char_u **files);
Bram Moolenaar66b51422019-08-18 21:44:12 +020032cmdline_info_T *get_cmdline_info(void);
Ruslan Russkikh0407d622024-10-08 22:21:05 +020033void f_getcmdcomplpat(typval_T *argvars, typval_T *rettv);
Shougo Matsushita79d599b2022-05-07 12:48:29 +010034void f_getcmdcompltype(typval_T *argvars, typval_T *rettv);
Bram Moolenaar08c308a2019-09-04 17:48:15 +020035void f_getcmdline(typval_T *argvars, typval_T *rettv);
36void f_getcmdpos(typval_T *argvars, typval_T *rettv);
Shougo Matsushita69084282024-09-23 20:34:47 +020037void f_getcmdprompt(typval_T *argvars, typval_T *rettv);
Shougo Matsushita79d599b2022-05-07 12:48:29 +010038void f_getcmdscreenpos(typval_T *argvars, typval_T *rettv);
zeertzjq54acb902022-08-29 16:21:25 +010039void f_getcmdtype(typval_T *argvars, typval_T *rettv);
Shougo Matsushita07ea5f12022-08-27 12:22:25 +010040void f_setcmdline(typval_T *argvars, typval_T *rettv);
Bram Moolenaar71223e22022-05-30 15:23:09 +010041void f_setcmdpos(typval_T *argvars, typval_T *rettv);
Bram Moolenaard7663c22019-08-06 21:59:57 +020042int get_cmdline_firstc(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010043int get_list_range(char_u **str, int *num1, int *num2);
Yegappan Lakshmananaf936912023-02-20 12:16:39 +000044char *did_set_cedit(optset_T *args);
mityua1198122021-11-20 19:13:39 +000045int is_in_cmdwin(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010046char_u *script_get(exarg_T *eap, char_u *cmd);
Bram Moolenaarda6c0332019-09-01 16:01:30 +020047void get_user_input(typval_T *argvars, typval_T *rettv, int inputdialog, int secret);
Girish Palya6b49fba2025-06-28 19:47:34 +020048int parse_pattern_and_range(pos_T *is_start, int *search_delim, int *skiplen, int *patlen);
Bram Moolenaar071d4272004-06-13 20:20:40 +000049/* vim: set ft=c : */