Mercurial > vim
comparison src/globals.h @ 449:3709cf52b9b5 v7.0119
updated for version 7.0119
author | vimboss |
---|---|
date | Fri, 29 Jul 2005 22:36:03 +0000 |
parents | 7472c565592a |
children | a5fcf36ef512 |
comparison
equal
deleted
inserted
replaced
448:dd9db57ee7ce | 449:3709cf52b9b5 |
---|---|
95 */ | 95 */ |
96 EXTERN colnr_T dollar_vcol INIT(= 0); | 96 EXTERN colnr_T dollar_vcol INIT(= 0); |
97 | 97 |
98 #ifdef FEAT_INS_EXPAND | 98 #ifdef FEAT_INS_EXPAND |
99 /* | 99 /* |
100 * used for Insert mode completion | 100 * Variables for Insert mode completion. |
101 */ | 101 */ |
102 EXTERN int completion_length INIT(= 0); | 102 |
103 EXTERN int continue_status INIT(= 0); | 103 /* length of the text being completed (this is deleted to be replaced by the |
104 EXTERN int completion_interrupted INIT(= FALSE); | 104 * match) */ |
105 | 105 EXTERN int compl_length INIT(= 0); |
106 /* flags for continue_status */ | 106 |
107 #define CONT_ADDING 1 /* "normal" or "adding" expansion */ | 107 /* Set when character typed while looking for matches and it means we should |
108 #define CONT_INTRPT (2 + 4) /* a ^X interrupted the current expansion */ | 108 * stop looking for matches. */ |
109 EXTERN int compl_interrupted INIT(= FALSE); | |
110 | |
111 /* List of flags for method of completion. */ | |
112 EXTERN int compl_cont_status INIT(= 0); | |
113 # define CONT_ADDING 1 /* "normal" or "adding" expansion */ | |
114 # define CONT_INTRPT (2 + 4) /* a ^X interrupted the current expansion */ | |
109 /* it's set only iff N_ADDS is set */ | 115 /* it's set only iff N_ADDS is set */ |
110 #define CONT_N_ADDS 4 /* next ^X<> will add-new or expand-current */ | 116 # define CONT_N_ADDS 4 /* next ^X<> will add-new or expand-current */ |
111 #define CONT_S_IPOS 8 /* next ^X<> will set initial_pos? | 117 # define CONT_S_IPOS 8 /* next ^X<> will set initial_pos? |
112 * if so, word-wise-expansion will set SOL */ | 118 * if so, word-wise-expansion will set SOL */ |
113 #define CONT_SOL 16 /* pattern includes start of line, just for | 119 # define CONT_SOL 16 /* pattern includes start of line, just for |
114 * word-wise expansion, not set for ^X^L */ | 120 * word-wise expansion, not set for ^X^L */ |
115 #define CONT_LOCAL 32 /* for ctrl_x_mode 0, ^X^P/^X^N do a local | 121 # define CONT_LOCAL 32 /* for ctrl_x_mode 0, ^X^P/^X^N do a local |
116 * expansion, (eg use complete=.) */ | 122 * expansion, (eg use complete=.) */ |
117 #endif | 123 #endif |
118 | 124 |
119 /* | 125 /* |
120 * Functions for putting characters in the command line, | 126 * Functions for putting characters in the command line, |
1387 #endif | 1393 #endif |
1388 #ifdef FEAT_NETBEANS_INTG | 1394 #ifdef FEAT_NETBEANS_INTG |
1389 EXTERN char_u e_guarded[] INIT(=N_("E463: Region is guarded, cannot modify")); | 1395 EXTERN char_u e_guarded[] INIT(=N_("E463: Region is guarded, cannot modify")); |
1390 EXTERN char_u e_nbreadonly[] INIT(=N_("E744: NetBeans does not allow changes in read-only files")); | 1396 EXTERN char_u e_nbreadonly[] INIT(=N_("E744: NetBeans does not allow changes in read-only files")); |
1391 #endif | 1397 #endif |
1392 #if defined(FEAT_EVAL) || defined(FEAT_SYN_HL) || defined(PROTO) | 1398 #if defined(FEAT_INS_EXPAND) || defined(FEAT_EVAL) || defined(FEAT_SYN_HL) \ |
1399 || defined(PROTO) | |
1393 EXTERN char_u e_intern2[] INIT(=N_("E685: Internal error: %s")); | 1400 EXTERN char_u e_intern2[] INIT(=N_("E685: Internal error: %s")); |
1394 #endif | 1401 #endif |
1395 EXTERN char_u e_maxmempat[] INIT(=N_("E363: pattern uses more memory than 'maxmempattern'")); | 1402 EXTERN char_u e_maxmempat[] INIT(=N_("E363: pattern uses more memory than 'maxmempattern'")); |
1396 EXTERN char_u e_emptybuf[] INIT(=N_("E749: empty buffer")); | 1403 EXTERN char_u e_emptybuf[] INIT(=N_("E749: empty buffer")); |
1397 | 1404 |