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