Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* ops.c */ |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 2 | int get_op_type(int char1, int char2); |
Bram Moolenaar | f273245 | 2018-06-03 14:47:35 +0200 | [diff] [blame] | 3 | int op_is_change(int op); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 4 | int get_op_char(int optype); |
| 5 | int get_extra_op_char(int optype); |
| 6 | void op_shift(oparg_T *oap, int curs_top, int amount); |
| 7 | void shift_line(int left, int round, int amount, int call_changed_bytes); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 8 | int op_delete(oparg_T *oap); |
| 9 | int op_replace(oparg_T *oap, int c); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 10 | int swapchar(int op_type, pos_T *pos); |
| 11 | void op_insert(oparg_T *oap, long count1); |
| 12 | int op_change(oparg_T *oap); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 13 | void adjust_cursor_eol(void); |
Bram Moolenaar | 025a6b7 | 2017-03-12 20:37:21 +0100 | [diff] [blame] | 14 | char_u *skip_comment(char_u *line, int process, int include_space, int *is_comment); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 15 | int do_join(long count, int insert_space, int save_undo, int use_formatoptions, int setmark); |
Bram Moolenaar | 4aea03e | 2019-09-25 22:37:17 +0200 | [diff] [blame] | 16 | void block_prep(oparg_T *oap, struct block_def *bdp, linenr_T lnum, int is_del); |
Shougo Matsushita | 3f905ab | 2024-02-21 00:02:45 +0100 | [diff] [blame] | 17 | void charwise_block_prep(pos_T start, pos_T end, struct block_def *bdp, linenr_T lnum, int inclusive); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 18 | void op_addsub(oparg_T *oap, linenr_T Prenum1, int g_cmd); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 19 | void clear_oparg(oparg_T *oap); |
| 20 | void cursor_pos_info(dict_T *dict); |
Yegappan Lakshmanan | af93691 | 2023-02-20 12:16:39 +0000 | [diff] [blame] | 21 | char *did_set_operatorfunc(optset_T *args); |
Yegappan Lakshmanan | 777175b | 2021-11-18 22:08:57 +0000 | [diff] [blame] | 22 | void free_operatorfunc_option(void); |
Yegappan Lakshmanan | 6ae8fae | 2021-12-12 16:26:44 +0000 | [diff] [blame] | 23 | int set_ref_in_opfunc(int copyID); |
Bram Moolenaar | 792cf5e | 2019-09-30 23:12:16 +0200 | [diff] [blame] | 24 | void do_pending_operator(cmdarg_T *cap, int old_col, int gui_yank); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 25 | /* vim: set ft=c : */ |