Mercurial > vim
comparison src/proto/ops.pro @ 18219:5d67f207f7c3 v8.1.2104
patch 8.1.2104: the normal.c file is too big
Commit: https://github.com/vim/vim/commit/792cf5e1bec04c6d6d70cfbb9ef24c798b469731
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 30 23:12:16 2019 +0200
patch 8.1.2104: the normal.c file is too big
Problem: The normal.c file is too big.
Solution: Move do_pending_operator() to ops.c. (Yegappan Lakshmanan,
closes #4999).
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 30 Sep 2019 23:15:03 +0200 |
parents | f57481564f2c |
children | fe5afdc03bd2 |
comparison
equal
deleted
inserted
replaced
18218:d60f3d400e6b | 18219:5d67f207f7c3 |
---|---|
1 /* ops.c */ | 1 /* ops.c */ |
2 int get_op_type(int char1, int char2); | 2 int get_op_type(int char1, int char2); |
3 int op_on_lines(int op); | |
4 int op_is_change(int op); | 3 int op_is_change(int op); |
5 int get_op_char(int optype); | 4 int get_op_char(int optype); |
6 int get_extra_op_char(int optype); | 5 int get_extra_op_char(int optype); |
7 void op_shift(oparg_T *oap, int curs_top, int amount); | 6 void op_shift(oparg_T *oap, int curs_top, int amount); |
8 void shift_line(int left, int round, int amount, int call_changed_bytes); | 7 void shift_line(int left, int round, int amount, int call_changed_bytes); |
9 void op_reindent(oparg_T *oap, int (*how)(void)); | |
10 void stuffescaped(char_u *arg, int literally); | 8 void stuffescaped(char_u *arg, int literally); |
11 int op_delete(oparg_T *oap); | 9 int op_delete(oparg_T *oap); |
12 int op_replace(oparg_T *oap, int c); | 10 int op_replace(oparg_T *oap, int c); |
13 void op_tilde(oparg_T *oap); | |
14 int swapchar(int op_type, pos_T *pos); | 11 int swapchar(int op_type, pos_T *pos); |
15 void op_insert(oparg_T *oap, long count1); | 12 void op_insert(oparg_T *oap, long count1); |
16 int op_change(oparg_T *oap); | 13 int op_change(oparg_T *oap); |
17 void adjust_cursor_eol(void); | 14 void adjust_cursor_eol(void); |
18 int preprocs_left(void); | 15 int preprocs_left(void); |
19 char_u *skip_comment(char_u *line, int process, int include_space, int *is_comment); | 16 char_u *skip_comment(char_u *line, int process, int include_space, int *is_comment); |
20 int do_join(long count, int insert_space, int save_undo, int use_formatoptions, int setmark); | 17 int do_join(long count, int insert_space, int save_undo, int use_formatoptions, int setmark); |
21 void op_format(oparg_T *oap, int keep_cursor); | |
22 void op_formatexpr(oparg_T *oap); | |
23 int fex_format(linenr_T lnum, long count, int c); | 18 int fex_format(linenr_T lnum, long count, int c); |
24 void format_lines(linenr_T line_count, int avoid_fex); | 19 void format_lines(linenr_T line_count, int avoid_fex); |
25 int paragraph_start(linenr_T lnum); | 20 int paragraph_start(linenr_T lnum); |
26 void block_prep(oparg_T *oap, struct block_def *bdp, linenr_T lnum, int is_del); | 21 void block_prep(oparg_T *oap, struct block_def *bdp, linenr_T lnum, int is_del); |
27 void op_addsub(oparg_T *oap, linenr_T Prenum1, int g_cmd); | 22 void op_addsub(oparg_T *oap, linenr_T Prenum1, int g_cmd); |
28 void x11_export_final_selection(void); | 23 void x11_export_final_selection(void); |
29 void clear_oparg(oparg_T *oap); | 24 void clear_oparg(oparg_T *oap); |
30 void cursor_pos_info(dict_T *dict); | 25 void cursor_pos_info(dict_T *dict); |
26 void do_pending_operator(cmdarg_T *cap, int old_col, int gui_yank); | |
31 /* vim: set ft=c : */ | 27 /* vim: set ft=c : */ |