comparison src/structs.h @ 625:81fe2ccc1207 v7.0179

updated for version 7.0179
author vimboss
date Thu, 12 Jan 2006 23:22:24 +0000
parents 53114ef7778f
children b6632d553df3
comparison
equal deleted inserted replaced
624:91e7d4a7b3b0 625:81fe2ccc1207
1072 /* values for b_syn_spell: what to do with toplevel text */ 1072 /* values for b_syn_spell: what to do with toplevel text */
1073 #define SYNSPL_DEFAULT 0 /* spell check if @Spell not defined */ 1073 #define SYNSPL_DEFAULT 0 /* spell check if @Spell not defined */
1074 #define SYNSPL_TOP 1 /* spell check toplevel text */ 1074 #define SYNSPL_TOP 1 /* spell check toplevel text */
1075 #define SYNSPL_NOTOP 2 /* don't spell check toplevel text */ 1075 #define SYNSPL_NOTOP 2 /* don't spell check toplevel text */
1076 1076
1077 /* avoid #ifdefs for when b_spell is not available */
1078 #ifdef FEAT_SYN_HL
1079 # define B_SPELL(buf) ((buf)->b_spell)
1080 #else
1081 # define B_SPELL(buf) (0)
1082 #endif
1083
1077 1084
1078 /* 1085 /*
1079 * buffer: structure that holds information about one file 1086 * buffer: structure that holds information about one file
1080 * 1087 *
1081 * Several windows can share a single Buffer 1088 * Several windows can share a single Buffer
1405 * if a swap file could not be opened. 1412 * if a swap file could not be opened.
1406 */ 1413 */
1407 int b_may_swap; 1414 int b_may_swap;
1408 int b_did_warn; /* Set to 1 if user has been warned on first 1415 int b_did_warn; /* Set to 1 if user has been warned on first
1409 change of a read-only file */ 1416 change of a read-only file */
1410 int b_help; /* buffer for help file (when set b_p_bt is 1417
1411 "help") */ 1418 /* Two special kinds of buffers:
1419 * help buffer - used for help files, won't use a swap file.
1420 * spell buffer - used for spell info, never displayed and doesn't have a
1421 * file name.
1422 */
1423 int b_help; /* TRUE for help file buffer (when set b_p_bt
1424 is "help") */
1425 #ifdef FEAT_SYN_HL
1426 int b_spell; /* TRUE for a spell file buffer, most fields
1427 are not used! Use the B_SPELL macro to
1428 access b_spell without #ifdef. */
1429 #endif
1412 1430
1413 #ifndef SHORT_FNAME 1431 #ifndef SHORT_FNAME
1414 int b_shortname; /* this file has an 8.3 file name */ 1432 int b_shortname; /* this file has an 8.3 file name */
1415 #endif 1433 #endif
1416 1434