comparison src/vim.h @ 2097:8f72e3512b43 v7.2.381

updated for version 7.2.381 Problem: No completion for :behave. Solution: Add :behave completion. Minor related fixes. (Dominique Pelle)
author Bram Moolenaar <bram@zimbu.org>
date Tue, 02 Mar 2010 15:56:05 +0100
parents 3112fcc89238
children 6c3c2e464a96
comparison
equal deleted inserted replaced
2096:6510d834609f 2097:8f72e3512b43
593 #define VALID_BOTLINE_AP 0x40 /* w_botine is approximated */ 593 #define VALID_BOTLINE_AP 0x40 /* w_botine is approximated */
594 #define VALID_TOPLINE 0x80 /* w_topline is valid (for cursor position) */ 594 #define VALID_TOPLINE 0x80 /* w_topline is valid (for cursor position) */
595 595
596 /* 596 /*
597 * Terminal highlighting attribute bits. 597 * Terminal highlighting attribute bits.
598 * Attibutes above HL_ALL are used for syntax highlighting. 598 * Attributes above HL_ALL are used for syntax highlighting.
599 */ 599 */
600 #define HL_NORMAL 0x00 600 #define HL_NORMAL 0x00
601 #define HL_INVERSE 0x01 601 #define HL_INVERSE 0x01
602 #define HL_BOLD 0x02 602 #define HL_BOLD 0x02
603 #define HL_ITALIC 0x04 603 #define HL_ITALIC 0x04
719 #define EXPAND_USER_LIST 31 719 #define EXPAND_USER_LIST 31
720 #define EXPAND_SHELLCMD 32 720 #define EXPAND_SHELLCMD 32
721 #define EXPAND_CSCOPE 33 721 #define EXPAND_CSCOPE 33
722 #define EXPAND_SIGN 34 722 #define EXPAND_SIGN 34
723 #define EXPAND_PROFILE 35 723 #define EXPAND_PROFILE 35
724 #define EXPAND_BEHAVE 36
724 725
725 /* Values for exmode_active (0 is no exmode) */ 726 /* Values for exmode_active (0 is no exmode) */
726 #define EXMODE_NORMAL 1 727 #define EXMODE_NORMAL 1
727 #define EXMODE_VIM 2 728 #define EXMODE_VIM 2
728 729
1260 , HLF_CUL /* 'cursurline' */ 1261 , HLF_CUL /* 'cursurline' */
1261 , HLF_COUNT /* MUST be the last one */ 1262 , HLF_COUNT /* MUST be the last one */
1262 } hlf_T; 1263 } hlf_T;
1263 1264
1264 /* The HL_FLAGS must be in the same order as the HLF_ enums! 1265 /* The HL_FLAGS must be in the same order as the HLF_ enums!
1265 * When chainging this also adjust the default for 'highlight'. */ 1266 * When changing this also adjust the default for 'highlight'. */
1266 #define HL_FLAGS {'8', '@', 'd', 'e', 'h', 'i', 'l', 'm', 'M', \ 1267 #define HL_FLAGS {'8', '@', 'd', 'e', 'h', 'i', 'l', 'm', 'M', \
1267 'n', 'r', 's', 'S', 'c', 't', 'v', 'V', 'w', 'W', \ 1268 'n', 'r', 's', 'S', 'c', 't', 'v', 'V', 'w', 'W', \
1268 'f', 'F', 'A', 'C', 'D', 'T', '>', \ 1269 'f', 'F', 'A', 'C', 'D', 'T', '>', \
1269 'B', 'P', 'R', 'L', \ 1270 'B', 'P', 'R', 'L', \
1270 '+', '=', 'x', 'X', '*', '#', '_', '!', '.'} 1271 '+', '=', 'x', 'X', '*', '#', '_', '!', '.'}
1428 #endif 1429 #endif
1429 1430
1430 #ifdef FEAT_MBYTE 1431 #ifdef FEAT_MBYTE
1431 /* We need to call mb_stricmp() even when we aren't dealing with a multi-byte 1432 /* We need to call mb_stricmp() even when we aren't dealing with a multi-byte
1432 * encoding because mb_stricmp() takes care of all ascii and non-ascii 1433 * encoding because mb_stricmp() takes care of all ascii and non-ascii
1433 * encodings, including characters with umluats in latin1, etc., while 1434 * encodings, including characters with umlauts in latin1, etc., while
1434 * STRICMP() only handles the system locale version, which often does not 1435 * STRICMP() only handles the system locale version, which often does not
1435 * handle non-ascii properly. */ 1436 * handle non-ascii properly. */
1436 1437
1437 # define MB_STRICMP(d, s) mb_strnicmp((char_u *)(d), (char_u *)(s), (int)MAXCOL) 1438 # define MB_STRICMP(d, s) mb_strnicmp((char_u *)(d), (char_u *)(s), (int)MAXCOL)
1438 # define MB_STRNICMP(d, s, n) mb_strnicmp((char_u *)(d), (char_u *)(s), (int)(n)) 1439 # define MB_STRNICMP(d, s, n) mb_strnicmp((char_u *)(d), (char_u *)(s), (int)(n))