comparison src/proto/misc1.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 1868ec23360e
children 18d7337b6837
comparison
equal deleted inserted replaced
18264:5202d9b99bee 18265:fe5afdc03bd2
1 /* misc1.c */ 1 /* misc1.c */
2 int get_indent(void);
3 int get_indent_lnum(linenr_T lnum);
4 int get_indent_buf(buf_T *buf, linenr_T lnum);
5 int get_indent_str(char_u *ptr, int ts, int list);
6 int get_indent_str_vtab(char_u *ptr, int ts, int *vts, int list);
7 int set_indent(int size, int flags);
8 int get_number_indent(linenr_T lnum);
9 int get_breakindent_win(win_T *wp, char_u *line);
10 int get_leader_len(char_u *line, char_u **flags, int backward, int include_space); 2 int get_leader_len(char_u *line, char_u **flags, int backward, int include_space);
11 int get_last_leader_offset(char_u *line, char_u **flags); 3 int get_last_leader_offset(char_u *line, char_u **flags);
12 int plines(linenr_T lnum); 4 int plines(linenr_T lnum);
13 int plines_win(win_T *wp, linenr_T lnum, int winheight); 5 int plines_win(win_T *wp, linenr_T lnum, int winheight);
14 int plines_nofill(linenr_T lnum); 6 int plines_nofill(linenr_T lnum);
17 int plines_win_col(win_T *wp, linenr_T lnum, long column); 9 int plines_win_col(win_T *wp, linenr_T lnum, long column);
18 int plines_m_win(win_T *wp, linenr_T first, linenr_T last); 10 int plines_m_win(win_T *wp, linenr_T first, linenr_T last);
19 int gchar_pos(pos_T *pos); 11 int gchar_pos(pos_T *pos);
20 int gchar_cursor(void); 12 int gchar_cursor(void);
21 void pchar_cursor(int c); 13 void pchar_cursor(int c);
22 int inindent(int extra);
23 char_u *skip_to_option_part(char_u *p); 14 char_u *skip_to_option_part(char_u *p);
24 void check_status(buf_T *buf); 15 void check_status(buf_T *buf);
25 int ask_yesno(char_u *str, int direct); 16 int ask_yesno(char_u *str, int direct);
26 void f_mode(typval_T *argvars, typval_T *rettv); 17 void f_mode(typval_T *argvars, typval_T *rettv);
27 void f_state(typval_T *argvars, typval_T *rettv); 18 void f_state(typval_T *argvars, typval_T *rettv);