Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* edit.c */ |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 2 | int edit(int cmdchar, int startln, long count); |
| 3 | void edit_putchar(int c, int highlight); |
Bram Moolenaar | f273245 | 2018-06-03 14:47:35 +0200 | [diff] [blame] | 4 | char_u *prompt_text(void); |
| 5 | int prompt_curpos_editable(void); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 6 | void edit_unputchar(void); |
| 7 | void display_dollar(colnr_T col); |
| 8 | void change_indent(int type, int amount, int round, int replaced, int call_changed_bytes); |
| 9 | void truncate_spaces(char_u *line); |
| 10 | void backspace_until_column(int col); |
Bram Moolenaar | bc0e9ad | 2018-02-09 12:13:34 +0100 | [diff] [blame] | 11 | int ctrl_x_mode_not_default(void); |
| 12 | int ctrl_x_mode_not_defined_yet(void); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 13 | int vim_is_ctrl_x_key(int c); |
| 14 | int ins_compl_add_infercase(char_u *str, int len, int icase, char_u *fname, int dir, int flags); |
Bram Moolenaar | c020042 | 2016-04-20 12:02:02 +0200 | [diff] [blame] | 15 | void completeopt_was_set(void); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 16 | void set_completion(colnr_T startcol, list_T *list); |
| 17 | void ins_compl_show_pum(void); |
| 18 | char_u *find_word_start(char_u *ptr); |
| 19 | char_u *find_word_end(char_u *ptr); |
| 20 | int ins_compl_active(void); |
| 21 | int ins_compl_add_tv(typval_T *tv, int dir); |
Bram Moolenaar | 472e859 | 2016-10-15 17:06:47 +0200 | [diff] [blame] | 22 | void ins_compl_check_keys(int frequency, int in_compl_func); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 23 | int get_literal(void); |
| 24 | void insertchar(int c, int flags, int second_indent); |
| 25 | void auto_format(int trailblank, int prev_line); |
| 26 | int comp_textwidth(int ff); |
| 27 | int stop_arrow(void); |
| 28 | void set_last_insert(int c); |
| 29 | void free_last_insert(void); |
| 30 | char_u *add_char2buf(int c, char_u *s); |
| 31 | void beginline(int flags); |
| 32 | int oneright(void); |
| 33 | int oneleft(void); |
| 34 | int cursor_up(long n, int upd_topline); |
| 35 | int cursor_down(long n, int upd_topline); |
| 36 | int stuff_inserted(int c, long count, int no_esc); |
| 37 | char_u *get_last_insert(void); |
| 38 | char_u *get_last_insert_save(void); |
| 39 | void replace_push(int c); |
| 40 | int replace_push_mb(char_u *p); |
| 41 | void fixthisline(int (*get_the_indent)(void)); |
| 42 | void fix_indent(void); |
| 43 | int in_cinkeys(int keytyped, int when, int line_is_empty); |
| 44 | int hkmap(int c); |
Bram Moolenaar | ec2da36 | 2017-01-21 20:04:22 +0100 | [diff] [blame] | 45 | int bracketed_paste(paste_mode_T mode, int drop, garray_T *gap); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 46 | void ins_scroll(void); |
| 47 | void ins_horscroll(void); |
| 48 | int ins_copychar(linenr_T lnum); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 49 | /* vim: set ft=c : */ |