comparison src/proto/indent.pro @ 18265:fe5afdc03bd2 v8.1.2127

patch 8.1.2127: the indent.c file is a bit big Commit: https://github.com/vim/vim/commit/14c01f83487d5c53192297a710eda2b8a4ab17c9 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 9 22:53:08 2019 +0200 patch 8.1.2127: the indent.c file is a bit big Problem: The indent.c file is a bit big. Solution: Move C-indent code a a new cindent.c file. Move other indent-related code to indent.c. (Yegappan Lakshmanan, closes #5031)
author Bram Moolenaar <Bram@vim.org>
date Wed, 09 Oct 2019 23:00:04 +0200
parents c81370b3ede4
children fd95d4dbeb37
comparison
equal deleted inserted replaced
18264:5202d9b99bee 18265:fe5afdc03bd2
1 /* indent.c */ 1 /* indent.c */
2 int cin_is_cinword(char_u *line);
3 pos_T *find_start_comment(int ind_maxcomment);
4 int cindent_on(void);
5 void parse_cino(buf_T *buf);
6 int get_c_indent(void);
7 int get_expr_indent(void);
8 int in_cinkeys(int keytyped, int when, int line_is_empty);
9 int get_lisp_indent(void);
10 void do_c_expr_indent(void);
11 void fixthisline(int (*get_the_indent)(void));
12 void fix_indent(void);
13 int tabstop_set(char_u *var, int **array); 2 int tabstop_set(char_u *var, int **array);
14 int tabstop_padding(colnr_T col, int ts_arg, int *vts); 3 int tabstop_padding(colnr_T col, int ts_arg, int *vts);
15 int tabstop_at(colnr_T col, int ts, int *vts); 4 int tabstop_at(colnr_T col, int ts, int *vts);
16 colnr_T tabstop_start(colnr_T col, int ts, int *vts); 5 colnr_T tabstop_start(colnr_T col, int ts, int *vts);
17 void tabstop_fromto(colnr_T start_col, colnr_T end_col, int ts_arg, int *vts, int *ntabs, int *nspcs); 6 void tabstop_fromto(colnr_T start_col, colnr_T end_col, int ts_arg, int *vts, int *ntabs, int *nspcs);
18 int tabstop_eq(int *ts1, int *ts2);
19 int *tabstop_copy(int *oldts); 7 int *tabstop_copy(int *oldts);
20 int tabstop_count(int *ts); 8 int tabstop_count(int *ts);
21 int tabstop_first(int *ts); 9 int tabstop_first(int *ts);
22 long get_sw_value(buf_T *buf); 10 long get_sw_value(buf_T *buf);
23 long get_sw_value_indent(buf_T *buf); 11 long get_sw_value_indent(buf_T *buf);
24 long get_sw_value_col(buf_T *buf, colnr_T col); 12 long get_sw_value_col(buf_T *buf, colnr_T col);
25 long get_sts_value(void); 13 long get_sts_value(void);
14 int get_indent(void);
15 int get_indent_lnum(linenr_T lnum);
16 int get_indent_buf(buf_T *buf, linenr_T lnum);
17 int get_indent_str(char_u *ptr, int ts, int list);
18 int get_indent_str_vtab(char_u *ptr, int ts, int *vts, int list);
19 int set_indent(int size, int flags);
20 int get_number_indent(linenr_T lnum);
21 int get_breakindent_win(win_T *wp, char_u *line);
22 int inindent(int extra);
23 void op_reindent(oparg_T *oap, int (*how)(void));
24 int preprocs_left(void);
25 void ins_try_si(int c);
26 void change_indent(int type, int amount, int round, int replaced, int call_changed_bytes);
27 int copy_indent(int size, char_u *src);
28 void ex_retab(exarg_T *eap);
29 int get_expr_indent(void);
30 int get_lisp_indent(void);
31 void fixthisline(int (*get_the_indent)(void));
32 void fix_indent(void);
33 void f_indent(typval_T *argvars, typval_T *rettv);
34 void f_lispindent(typval_T *argvars, typval_T *rettv);
26 /* vim: set ft=c : */ 35 /* vim: set ft=c : */