Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* ops.c */ |
Bram Moolenaar | 4e86cba | 2007-05-06 11:56:32 +0000 | [diff] [blame] | 2 | int get_op_type __ARGS((int char1, int char2)); |
| 3 | int op_on_lines __ARGS((int op)); |
| 4 | int get_op_char __ARGS((int optype)); |
| 5 | int get_extra_op_char __ARGS((int optype)); |
| 6 | void op_shift __ARGS((oparg_T *oap, int curs_top, int amount)); |
Bram Moolenaar | 21b17e7 | 2008-01-16 19:03:13 +0000 | [diff] [blame] | 7 | void shift_line __ARGS((int left, int round, int amount, int call_changed_bytes)); |
Bram Moolenaar | 4e86cba | 2007-05-06 11:56:32 +0000 | [diff] [blame] | 8 | void op_reindent __ARGS((oparg_T *oap, int (*how)(void))); |
| 9 | int get_expr_register __ARGS((void)); |
| 10 | void set_expr_line __ARGS((char_u *new_line)); |
| 11 | char_u *get_expr_line __ARGS((void)); |
| 12 | char_u *get_expr_line_src __ARGS((void)); |
| 13 | int valid_yank_reg __ARGS((int regname, int writing)); |
| 14 | void get_yank_register __ARGS((int regname, int writing)); |
| 15 | int may_get_selection __ARGS((int regname)); |
| 16 | void *get_register __ARGS((int name, int copy)); |
| 17 | void put_register __ARGS((int name, void *reg)); |
Bram Moolenaar | 1a0316c | 2013-03-13 17:50:25 +0100 | [diff] [blame] | 18 | void free_register __ARGS((void *reg)); |
Bram Moolenaar | 4e86cba | 2007-05-06 11:56:32 +0000 | [diff] [blame] | 19 | int yank_register_mline __ARGS((int regname)); |
| 20 | int do_record __ARGS((int c)); |
| 21 | int do_execreg __ARGS((int regname, int colon, int addcr, int silent)); |
| 22 | int insert_reg __ARGS((int regname, int literally)); |
| 23 | int get_spec_reg __ARGS((int regname, char_u **argp, int *allocated, int errmsg)); |
| 24 | int cmdline_paste_reg __ARGS((int regname, int literally, int remcr)); |
| 25 | void adjust_clip_reg __ARGS((int *rp)); |
| 26 | int op_delete __ARGS((oparg_T *oap)); |
| 27 | int op_replace __ARGS((oparg_T *oap, int c)); |
| 28 | void op_tilde __ARGS((oparg_T *oap)); |
| 29 | int swapchar __ARGS((int op_type, pos_T *pos)); |
| 30 | void op_insert __ARGS((oparg_T *oap, long count1)); |
| 31 | int op_change __ARGS((oparg_T *oap)); |
| 32 | void init_yank __ARGS((void)); |
| 33 | void clear_registers __ARGS((void)); |
| 34 | int op_yank __ARGS((oparg_T *oap, int deleting, int mess)); |
| 35 | void do_put __ARGS((int regname, int dir, long count, int flags)); |
| 36 | void adjust_cursor_eol __ARGS((void)); |
| 37 | int preprocs_left __ARGS((void)); |
| 38 | int get_register_name __ARGS((int num)); |
| 39 | void ex_display __ARGS((exarg_T *eap)); |
Bram Moolenaar | d69bd9a | 2014-04-29 12:15:40 +0200 | [diff] [blame] | 40 | int do_join __ARGS((long count, int insert_space, int save_undo, int use_formatoptions, int setmark)); |
Bram Moolenaar | 4e86cba | 2007-05-06 11:56:32 +0000 | [diff] [blame] | 41 | void op_format __ARGS((oparg_T *oap, int keep_cursor)); |
| 42 | void op_formatexpr __ARGS((oparg_T *oap)); |
| 43 | int fex_format __ARGS((linenr_T lnum, long count, int c)); |
Bram Moolenaar | 81a8209 | 2008-03-12 16:27:00 +0000 | [diff] [blame] | 44 | void format_lines __ARGS((linenr_T line_count, int avoid_fex)); |
Bram Moolenaar | 4e86cba | 2007-05-06 11:56:32 +0000 | [diff] [blame] | 45 | int paragraph_start __ARGS((linenr_T lnum)); |
Bram Moolenaar | d79e550 | 2016-01-10 22:13:02 +0100 | [diff] [blame] | 46 | void op_addsub __ARGS((oparg_T *oap, linenr_T Prenum1, int g_cmd)); |
Bram Moolenaar | 4e86cba | 2007-05-06 11:56:32 +0000 | [diff] [blame] | 47 | int read_viminfo_register __ARGS((vir_T *virp, int force)); |
| 48 | void write_viminfo_registers __ARGS((FILE *fp)); |
| 49 | void x11_export_final_selection __ARGS((void)); |
| 50 | void clip_free_selection __ARGS((VimClipboard *cbd)); |
| 51 | void clip_get_selection __ARGS((VimClipboard *cbd)); |
| 52 | void clip_yank_selection __ARGS((int type, char_u *str, long len, VimClipboard *cbd)); |
| 53 | int clip_convert_selection __ARGS((char_u **str, long_u *len, VimClipboard *cbd)); |
| 54 | void dnd_yank_drag_data __ARGS((char_u *str, long len)); |
| 55 | char_u get_reg_type __ARGS((int regname, long *reglen)); |
Bram Moolenaar | b7cb42b | 2014-04-02 19:55:10 +0200 | [diff] [blame] | 56 | char_u *get_reg_contents __ARGS((int regname, int flags)); |
Bram Moolenaar | 4e86cba | 2007-05-06 11:56:32 +0000 | [diff] [blame] | 57 | void write_reg_contents __ARGS((int name, char_u *str, int maxlen, int must_append)); |
Bram Moolenaar | 5a50c22 | 2014-04-02 22:17:10 +0200 | [diff] [blame] | 58 | void write_reg_contents_lst __ARGS((int name, char_u **strings, int maxlen, int must_append, int yank_type, long block_len)); |
Bram Moolenaar | caad4f0 | 2014-12-17 14:36:14 +0100 | [diff] [blame] | 59 | void write_reg_contents_ex __ARGS((int name, char_u *str, int maxlen, int must_append, int yank_type, long block_len)); |
Bram Moolenaar | 4e86cba | 2007-05-06 11:56:32 +0000 | [diff] [blame] | 60 | void clear_oparg __ARGS((oparg_T *oap)); |
Bram Moolenaar | ed767a2 | 2016-01-03 22:49:16 +0100 | [diff] [blame] | 61 | void cursor_pos_info __ARGS((dict_T *eval)); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 62 | /* vim: set ft=c : */ |