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