Mercurial > vim
annotate src/proto/indent.pro @ 28466:384462589cb2
Added tag v8.2.4757 for changeset c8c970d28ad66d13e02d99aa9d2b85dfd9b8983d
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 16 Apr 2022 11:15:04 +0200 |
parents | fd95d4dbeb37 |
children | 948877671c54 |
rev | line source |
---|---|
15699
2d941023bd2f
patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 /* indent.c */ |
18156
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
2 int tabstop_set(char_u *var, int **array); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
3 int tabstop_padding(colnr_T col, int ts_arg, int *vts); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
4 int tabstop_at(colnr_T col, int ts, int *vts); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
5 colnr_T tabstop_start(colnr_T col, int ts, int *vts); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
6 void tabstop_fromto(colnr_T start_col, colnr_T end_col, int ts_arg, int *vts, int *ntabs, int *nspcs); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
7 int *tabstop_copy(int *oldts); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
8 int tabstop_count(int *ts); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
9 int tabstop_first(int *ts); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
10 long get_sw_value(buf_T *buf); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
11 long get_sw_value_indent(buf_T *buf); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
12 long get_sw_value_col(buf_T *buf, colnr_T col); |
c81370b3ede4
patch 8.1.2073: when editing a buffer 'colorcolumn' may not work
Bram Moolenaar <Bram@vim.org>
parents:
17789
diff
changeset
|
13 long get_sts_value(void); |
18265
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
14 int get_indent(void); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
15 int get_indent_lnum(linenr_T lnum); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
16 int get_indent_buf(buf_T *buf, linenr_T lnum); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
17 int get_indent_str(char_u *ptr, int ts, int list); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
18 int get_indent_str_vtab(char_u *ptr, int ts, int *vts, int list); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
19 int set_indent(int size, int flags); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
20 int get_number_indent(linenr_T lnum); |
18679
fd95d4dbeb37
patch 8.1.2331: the option.c file is still very big
Bram Moolenaar <Bram@vim.org>
parents:
18265
diff
changeset
|
21 int briopt_check(win_T *wp); |
18265
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
22 int get_breakindent_win(win_T *wp, char_u *line); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
23 int inindent(int extra); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
24 void op_reindent(oparg_T *oap, int (*how)(void)); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
25 int preprocs_left(void); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
26 void ins_try_si(int c); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
27 void change_indent(int type, int amount, int round, int replaced, int call_changed_bytes); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
28 int copy_indent(int size, char_u *src); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
29 void ex_retab(exarg_T *eap); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
30 int get_expr_indent(void); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
31 int get_lisp_indent(void); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
32 void fixthisline(int (*get_the_indent)(void)); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
33 void fix_indent(void); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
34 void f_indent(typval_T *argvars, typval_T *rettv); |
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18156
diff
changeset
|
35 void f_lispindent(typval_T *argvars, typval_T *rettv); |
15699
2d941023bd2f
patch 8.1.0857: indent functionality is not separated
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
36 /* vim: set ft=c : */ |