Mercurial > vim
comparison src/proto/misc1.pro @ 16632:30de89c1d090 v8.1.1318
patch 8.1.1318: code for text changes is in a "misc" file
commit https://github.com/vim/vim/commit/ec28d1516eb8bb5dcaa42de145953a6d49aebb6f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 11 18:36:34 2019 +0200
patch 8.1.1318: code for text changes is in a "misc" file
Problem: Code for text changes is in a "misc" file.
Solution: Move the code to change.c.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 11 May 2019 18:45:06 +0200 |
parents | 99ebf78686a9 |
children | b52ea9c5f1db |
comparison
equal
deleted
inserted
replaced
16631:7217a9c5adb3 | 16632:30de89c1d090 |
---|---|
5 int get_indent_str(char_u *ptr, int ts, int list); | 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); | 6 int get_indent_str_vtab(char_u *ptr, int ts, int *vts, int list); |
7 int set_indent(int size, int flags); | 7 int set_indent(int size, int flags); |
8 int get_number_indent(linenr_T lnum); | 8 int get_number_indent(linenr_T lnum); |
9 int get_breakindent_win(win_T *wp, char_u *line); | 9 int get_breakindent_win(win_T *wp, char_u *line); |
10 int open_line(int dir, int flags, int second_line_indent); | |
11 int get_leader_len(char_u *line, char_u **flags, int backward, int include_space); | 10 int get_leader_len(char_u *line, char_u **flags, int backward, int include_space); |
12 int get_last_leader_offset(char_u *line, char_u **flags); | 11 int get_last_leader_offset(char_u *line, char_u **flags); |
13 int plines(linenr_T lnum); | 12 int plines(linenr_T lnum); |
14 int plines_win(win_T *wp, linenr_T lnum, int winheight); | 13 int plines_win(win_T *wp, linenr_T lnum, int winheight); |
15 int plines_nofill(linenr_T lnum); | 14 int plines_nofill(linenr_T lnum); |
16 int plines_win_nofill(win_T *wp, linenr_T lnum, int winheight); | 15 int plines_win_nofill(win_T *wp, linenr_T lnum, int winheight); |
17 int plines_win_nofold(win_T *wp, linenr_T lnum); | 16 int plines_win_nofold(win_T *wp, linenr_T lnum); |
18 int plines_win_col(win_T *wp, linenr_T lnum, long column); | 17 int plines_win_col(win_T *wp, linenr_T lnum, long column); |
19 int plines_m_win(win_T *wp, linenr_T first, linenr_T last); | 18 int plines_m_win(win_T *wp, linenr_T first, linenr_T last); |
20 void ins_bytes(char_u *p); | |
21 void ins_bytes_len(char_u *p, int len); | |
22 void ins_char(int c); | |
23 void ins_char_bytes(char_u *buf, int charlen); | |
24 void ins_str(char_u *s); | |
25 int del_char(int fixpos); | |
26 int del_chars(long count, int fixpos); | |
27 int del_bytes(long count, int fixpos_arg, int use_delcombine); | |
28 int truncate_line(int fixpos); | |
29 void del_lines(long nlines, int undo); | |
30 int gchar_pos(pos_T *pos); | 19 int gchar_pos(pos_T *pos); |
31 int gchar_cursor(void); | 20 int gchar_cursor(void); |
32 void pchar_cursor(int c); | 21 void pchar_cursor(int c); |
33 int inindent(int extra); | 22 int inindent(int extra); |
34 char_u *skip_to_option_part(char_u *p); | 23 char_u *skip_to_option_part(char_u *p); |
35 void changed(void); | |
36 void changed_int(void); | |
37 void changed_bytes(linenr_T lnum, colnr_T col); | |
38 void inserted_bytes(linenr_T lnum, colnr_T col, int added); | |
39 void appended_lines(linenr_T lnum, long count); | |
40 void appended_lines_mark(linenr_T lnum, long count); | |
41 void deleted_lines(linenr_T lnum, long count); | |
42 void deleted_lines_mark(linenr_T lnum, long count); | |
43 void changed_lines(linenr_T lnum, colnr_T col, linenr_T lnume, long xtra); | |
44 void unchanged(buf_T *buf, int ff); | |
45 void check_status(buf_T *buf); | 24 void check_status(buf_T *buf); |
46 void change_warning(int col); | |
47 int ask_yesno(char_u *str, int direct); | 25 int ask_yesno(char_u *str, int direct); |
48 int is_mouse_key(int c); | 26 int is_mouse_key(int c); |
49 int get_keystroke(void); | 27 int get_keystroke(void); |
50 int get_number(int colon, int *mouse_used); | 28 int get_number(int colon, int *mouse_used); |
51 int prompt_for_number(int *mouse_used); | 29 int prompt_for_number(int *mouse_used); |