Mercurial > vim
comparison src/proto/screen.pro @ 18124:2a806e3c39f6 v8.1.2057
patch 8.1.2057: the screen.c file is much too big
Commit: https://github.com/vim/vim/commit/7528d1f6b5422750eb778dfb550cfd0b0e540964
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 19 23:06:20 2019 +0200
patch 8.1.2057: the screen.c file is much too big
Problem: The screen.c file is much too big.
Solution: Split it in three parts. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4943)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 19 Sep 2019 23:15:05 +0200 |
parents | 079e10a49ea1 |
children | 421c4ed6b949 |
comparison
equal
deleted
inserted
replaced
18123:ceb4be0b23c7 | 18124:2a806e3c39f6 |
---|---|
1 /* screen.c */ | 1 /* screen.c */ |
2 void redraw_later(int type); | |
3 void redraw_win_later(win_T *wp, int type); | |
4 void redraw_later_clear(void); | |
5 void redraw_all_later(int type); | |
6 void redraw_curbuf_later(int type); | |
7 void redraw_buf_later(buf_T *buf, int type); | |
8 void redraw_buf_line_later(buf_T *buf, linenr_T lnum); | |
9 void redraw_buf_and_status_later(buf_T *buf, int type); | |
10 int redraw_asap(int type); | |
11 void redraw_after_callback(int call_update_screen); | |
12 void redrawWinline(win_T *wp, linenr_T lnum); | |
13 void after_updating_screen(int may_resize_shell); | |
14 void update_curbuf(int type); | |
15 int update_screen(int type_arg); | |
16 int conceal_cursor_line(win_T *wp); | 2 int conceal_cursor_line(win_T *wp); |
17 void conceal_check_cursor_line(void); | 3 void conceal_check_cursor_line(void); |
18 void update_debug_sign(buf_T *buf, linenr_T lnum); | |
19 int get_wcr_attr(win_T *wp); | 4 int get_wcr_attr(win_T *wp); |
20 void updateWindow(win_T *wp); | 5 void win_draw_end(win_T *wp, int c1, int c2, int draw_margin, int row, int endrow, hlf_T hl); |
6 int compute_foldcolumn(win_T *wp, int col); | |
7 void fill_foldcolumn(char_u *p, win_T *wp, int closed, linenr_T lnum); | |
21 int screen_get_current_line_off(void); | 8 int screen_get_current_line_off(void); |
9 void reset_screen_attr(void); | |
22 void screen_line(int row, int coloff, int endcol, int clear_width, int flags); | 10 void screen_line(int row, int coloff, int endcol, int clear_width, int flags); |
23 void rl_mirror(char_u *str); | 11 void rl_mirror(char_u *str); |
24 void status_redraw_all(void); | 12 void draw_vsep_win(win_T *wp, int row); |
25 void status_redraw_curbuf(void); | |
26 void redraw_statuslines(void); | |
27 void win_redraw_last_status(frame_T *frp); | |
28 void win_redr_status_matches(expand_T *xp, int num_matches, char_u **matches, int match, int showtail); | 13 void win_redr_status_matches(expand_T *xp, int num_matches, char_u **matches, int match, int showtail); |
29 int stl_connected(win_T *wp); | 14 int stl_connected(win_T *wp); |
30 int get_keymap_str(win_T *wp, char_u *fmt, char_u *buf, int len); | 15 int get_keymap_str(win_T *wp, char_u *fmt, char_u *buf, int len); |
16 void win_redr_custom(win_T *wp, int draw_ruler); | |
31 void screen_putchar(int c, int row, int col, int attr); | 17 void screen_putchar(int c, int row, int col, int attr); |
32 void screen_getbytes(int row, int col, char_u *bytes, int *attrp); | 18 void screen_getbytes(int row, int col, char_u *bytes, int *attrp); |
33 void screen_puts(char_u *text, int row, int col, int attr); | 19 void screen_puts(char_u *text, int row, int col, int attr); |
34 void screen_puts_len(char_u *text, int textlen, int row, int col, int attr); | 20 void screen_puts_len(char_u *text, int textlen, int row, int col, int attr); |
21 void start_search_hl(void); | |
22 void end_search_hl(void); | |
35 void screen_stop_highlight(void); | 23 void screen_stop_highlight(void); |
36 void reset_cterm_colors(void); | 24 void reset_cterm_colors(void); |
25 void screen_char(unsigned off, int row, int col); | |
37 void screen_draw_rectangle(int row, int col, int height, int width, int invert); | 26 void screen_draw_rectangle(int row, int col, int height, int width, int invert); |
27 void space_to_screenline(int off, int attr); | |
38 void screen_fill(int start_row, int end_row, int start_col, int end_col, int c1, int c2, int attr); | 28 void screen_fill(int start_row, int end_row, int start_col, int end_col, int c1, int c2, int attr); |
39 void check_for_delay(int check_msg_scroll); | 29 void check_for_delay(int check_msg_scroll); |
40 int screen_valid(int doclear); | 30 int screen_valid(int doclear); |
41 void screenalloc(int doclear); | 31 void screenalloc(int doclear); |
42 void free_screenlines(void); | 32 void free_screenlines(void); |
54 int showmode(void); | 44 int showmode(void); |
55 void unshowmode(int force); | 45 void unshowmode(int force); |
56 void clearmode(void); | 46 void clearmode(void); |
57 void draw_tabline(void); | 47 void draw_tabline(void); |
58 void get_trans_bufname(buf_T *buf); | 48 void get_trans_bufname(buf_T *buf); |
49 int fillchar_status(int *attr, win_T *wp); | |
50 int fillchar_vsep(int *attr); | |
59 int redrawing(void); | 51 int redrawing(void); |
60 int messaging(void); | 52 int messaging(void); |
61 void showruler(int always); | |
62 void comp_col(void); | 53 void comp_col(void); |
63 int number_width(win_T *wp); | 54 int number_width(win_T *wp); |
64 int screen_screencol(void); | 55 int screen_screencol(void); |
65 int screen_screenrow(void); | 56 int screen_screenrow(void); |
66 char *set_chars_option(char_u **varp); | 57 char *set_chars_option(char_u **varp); |