Mercurial > vim
comparison src/proto/ops.pro @ 20237:918245588b50 v8.2.0674
patch 8.2.0674: some source files are too big
Commit: https://github.com/vim/vim/commit/11abd095210fc84e5dcee87b9baed86061caefe4
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 1 14:26:37 2020 +0200
patch 8.2.0674: some source files are too big
Problem: Some source files are too big.
Solution: Move text formatting functions to a new file. (Yegappan
Lakshmanan, closes #6021)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 01 May 2020 14:30:04 +0200 |
parents | 00a1b89256ea |
children | 6b4f017d7005 |
comparison
equal
deleted
inserted
replaced
20236:366b1c4f8c49 | 20237:918245588b50 |
---|---|
3 int op_is_change(int op); | 3 int op_is_change(int op); |
4 int get_op_char(int optype); | 4 int get_op_char(int optype); |
5 int get_extra_op_char(int optype); | 5 int get_extra_op_char(int optype); |
6 void op_shift(oparg_T *oap, int curs_top, int amount); | 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); | 7 void shift_line(int left, int round, int amount, int call_changed_bytes); |
8 void stuffescaped(char_u *arg, int literally); | |
9 int op_delete(oparg_T *oap); | 8 int op_delete(oparg_T *oap); |
10 int op_replace(oparg_T *oap, int c); | 9 int op_replace(oparg_T *oap, int c); |
11 int swapchar(int op_type, pos_T *pos); | 10 int swapchar(int op_type, pos_T *pos); |
12 void op_insert(oparg_T *oap, long count1); | 11 void op_insert(oparg_T *oap, long count1); |
13 int op_change(oparg_T *oap); | 12 int op_change(oparg_T *oap); |
14 void adjust_cursor_eol(void); | 13 void adjust_cursor_eol(void); |
15 char_u *skip_comment(char_u *line, int process, int include_space, int *is_comment); | 14 char_u *skip_comment(char_u *line, int process, int include_space, int *is_comment); |
16 int do_join(long count, int insert_space, int save_undo, int use_formatoptions, int setmark); | 15 int do_join(long count, int insert_space, int save_undo, int use_formatoptions, int setmark); |
17 int fex_format(linenr_T lnum, long count, int c); | |
18 void format_lines(linenr_T line_count, int avoid_fex); | |
19 int paragraph_start(linenr_T lnum); | |
20 void block_prep(oparg_T *oap, struct block_def *bdp, linenr_T lnum, int is_del); | 16 void block_prep(oparg_T *oap, struct block_def *bdp, linenr_T lnum, int is_del); |
21 void op_addsub(oparg_T *oap, linenr_T Prenum1, int g_cmd); | 17 void op_addsub(oparg_T *oap, linenr_T Prenum1, int g_cmd); |
22 void clear_oparg(oparg_T *oap); | 18 void clear_oparg(oparg_T *oap); |
23 void cursor_pos_info(dict_T *dict); | 19 void cursor_pos_info(dict_T *dict); |
24 void do_pending_operator(cmdarg_T *cap, int old_col, int gui_yank); | 20 void do_pending_operator(cmdarg_T *cap, int old_col, int gui_yank); |