Mercurial > vim
comparison src/structs.h @ 692:a28f83d37113
updated for version 7.0208
author | vimboss |
---|---|
date | Mon, 27 Feb 2006 00:08:02 +0000 |
parents | d7e33248b9c8 |
children | 07d199fe02ed |
comparison
equal
deleted
inserted
replaced
691:8106f3da02d0 | 692:a28f83d37113 |
---|---|
240 int fi_lnum; /* line number where fold starts */ | 240 int fi_lnum; /* line number where fold starts */ |
241 int fi_low_level; /* lowest fold level that starts in the same | 241 int fi_low_level; /* lowest fold level that starts in the same |
242 line */ | 242 line */ |
243 } foldinfo_T; | 243 } foldinfo_T; |
244 | 244 |
245 /* Structure to store info about the Visual area. */ | |
246 typedef struct | |
247 { | |
248 pos_T vi_start; /* start pos of last VIsual */ | |
249 pos_T vi_end; /* end position of last VIsual */ | |
250 int vi_mode; /* VIsual_mode of last VIsual */ | |
251 colnr_T vi_curswant; /* MAXCOL from w_curswant */ | |
252 } visualinfo_T; | |
253 | |
245 /* | 254 /* |
246 * stuctures used for undo | 255 * stuctures used for undo |
247 */ | 256 */ |
248 | 257 |
249 typedef struct u_entry u_entry_T; | 258 typedef struct u_entry u_entry_T; |
268 #ifdef FEAT_VIRTUALEDIT | 277 #ifdef FEAT_VIRTUALEDIT |
269 long uh_cursor_vcol; | 278 long uh_cursor_vcol; |
270 #endif | 279 #endif |
271 int uh_flags; /* see below */ | 280 int uh_flags; /* see below */ |
272 pos_T uh_namedm[NMARKS]; /* marks before undo/after redo */ | 281 pos_T uh_namedm[NMARKS]; /* marks before undo/after redo */ |
282 #ifdef FEAT_VISUAL | |
283 visualinfo_T uh_visual; /* Visual areas before undo/after redo */ | |
284 #endif | |
273 }; | 285 }; |
274 | 286 |
275 /* values for uh_flags */ | 287 /* values for uh_flags */ |
276 #define UH_CHANGED 0x01 /* b_changed flag before undo/after redo */ | 288 #define UH_CHANGED 0x01 /* b_changed flag before undo/after redo */ |
277 #define UH_EMPTYBUF 0x02 /* buffer was empty */ | 289 #define UH_EMPTYBUF 0x02 /* buffer was empty */ |
1167 | 1179 |
1168 pos_T b_namedm[NMARKS]; /* current named marks (mark.c) */ | 1180 pos_T b_namedm[NMARKS]; /* current named marks (mark.c) */ |
1169 | 1181 |
1170 #ifdef FEAT_VISUAL | 1182 #ifdef FEAT_VISUAL |
1171 /* These variables are set when VIsual_active becomes FALSE */ | 1183 /* These variables are set when VIsual_active becomes FALSE */ |
1172 pos_T b_visual_start; /* start pos of last VIsual */ | 1184 visualinfo_T b_visual; |
1173 pos_T b_visual_end; /* end position of last VIsual */ | |
1174 int b_visual_mode; /* VIsual_mode of last VIsual */ | |
1175 # ifdef FEAT_EVAL | 1185 # ifdef FEAT_EVAL |
1176 int b_visual_mode_eval; /* b_visual_mode for visualmode() */ | 1186 int b_visual_mode_eval; /* b_visual.vi_mode for visualmode() */ |
1177 # endif | 1187 # endif |
1178 colnr_T b_visual_curswant; /* MAXCOL from w_curswant */ | |
1179 #endif | 1188 #endif |
1180 | 1189 |
1181 pos_T b_last_cursor; /* cursor position when last unloading this | 1190 pos_T b_last_cursor; /* cursor position when last unloading this |
1182 buffer */ | 1191 buffer */ |
1183 pos_T b_last_insert; /* where Insert mode was left */ | 1192 pos_T b_last_insert; /* where Insert mode was left */ |
2226 { | 2235 { |
2227 char_u *pum_text; /* main menu text */ | 2236 char_u *pum_text; /* main menu text */ |
2228 char_u *pum_extra; /* extra menu text (may be truncated) */ | 2237 char_u *pum_extra; /* extra menu text (may be truncated) */ |
2229 char_u *pum_info; /* extra info */ | 2238 char_u *pum_info; /* extra info */ |
2230 } pumitem_T; | 2239 } pumitem_T; |
2240 | |
2241 /* | |
2242 * Structure used for get_tagfname(). | |
2243 */ | |
2244 typedef struct | |
2245 { | |
2246 char_u *tn_tags; /* value of 'tags' when starting */ | |
2247 char_u *tn_np; /* current position in tn_tags */ | |
2248 int tn_did_filefind_init; | |
2249 int tn_hf_idx; | |
2250 void *tn_search_ctx; | |
2251 } tagname_T; | |
2252 |