Mercurial > vim
comparison src/globals.h @ 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 | 8f4cc259ed7a |
children | 770987511384 |
comparison
equal
deleted
inserted
replaced
18123:ceb4be0b23c7 | 18124:2a806e3c39f6 |
---|---|
58 // allocating ScreenLinesC[] | 58 // allocating ScreenLinesC[] |
59 | 59 |
60 // Only used for euc-jp: Second byte of a character that starts with 0x8e. | 60 // Only used for euc-jp: Second byte of a character that starts with 0x8e. |
61 // These are single-width. | 61 // These are single-width. |
62 EXTERN schar_T *ScreenLines2 INIT(= NULL); | 62 EXTERN schar_T *ScreenLines2 INIT(= NULL); |
63 | |
64 /* | |
65 * Buffer for one screen line (characters and attributes). | |
66 */ | |
67 EXTERN schar_T *current_ScreenLine INIT(= NULL); | |
68 | |
69 /* | |
70 * Last known cursor position. | |
71 * Positioning the cursor is reduced by remembering the last position. | |
72 * Mostly used by windgoto() and screen_char(). | |
73 */ | |
74 EXTERN int screen_cur_row INIT(= 0); | |
75 EXTERN int screen_cur_col INIT(= 0); | |
76 | |
77 #ifdef FEAT_SEARCH_EXTRA | |
78 EXTERN match_T screen_search_hl; // used for 'hlsearch' highlight matching | |
79 #endif | |
80 | |
81 #ifdef FEAT_FOLDING | |
82 EXTERN foldinfo_T win_foldinfo; // info for 'foldcolumn' | |
83 #endif | |
84 | |
85 // Flag that is set when drawing for a callback, not from the main command | |
86 // loop. | |
87 EXTERN int redrawing_for_callback INIT(= 0); | |
63 | 88 |
64 /* | 89 /* |
65 * Indexes for tab page line: | 90 * Indexes for tab page line: |
66 * N > 0 for label of tab page N | 91 * N > 0 for label of tab page N |
67 * N == 0 for no label | 92 * N == 0 for no label |