Mercurial > vim
comparison src/syntax.c @ 1222:756bed568f5d
updated for version 7.1b
author | vimboss |
---|---|
date | Thu, 10 May 2007 18:59:07 +0000 |
parents | 9abe06cc329f |
children | 82add1e7c154 |
comparison
equal
deleted
inserted
replaced
1221:dc65bb5de20e | 1222:756bed568f5d |
---|---|
305 * Struct to reduce the number of arguments to get_syn_options(), it's used | 305 * Struct to reduce the number of arguments to get_syn_options(), it's used |
306 * very often. | 306 * very often. |
307 */ | 307 */ |
308 typedef struct | 308 typedef struct |
309 { | 309 { |
310 int flags; /* flags for contained and transpartent */ | 310 int flags; /* flags for contained and transparent */ |
311 int keyword; /* TRUE for ":syn keyword" */ | 311 int keyword; /* TRUE for ":syn keyword" */ |
312 int *sync_idx; /* syntax item for "grouphere" argument, NULL | 312 int *sync_idx; /* syntax item for "grouphere" argument, NULL |
313 if not allowed */ | 313 if not allowed */ |
314 char has_cont_list; /* TRUE if "cont_list" can be used */ | 314 char has_cont_list; /* TRUE if "cont_list" can be used */ |
315 short *cont_list; /* group IDs for "contains" argument */ | 315 short *cont_list; /* group IDs for "contains" argument */ |
7173 if (!init) | 7173 if (!init) |
7174 HL_TABLE()[idx].sg_set |= SG_TERM; | 7174 HL_TABLE()[idx].sg_set |= SG_TERM; |
7175 | 7175 |
7176 /* | 7176 /* |
7177 * The "start" and "stop" arguments can be a literal escape | 7177 * The "start" and "stop" arguments can be a literal escape |
7178 * sequence, or a comma seperated list of terminal codes. | 7178 * sequence, or a comma separated list of terminal codes. |
7179 */ | 7179 */ |
7180 if (STRNCMP(arg, "t_", 2) == 0) | 7180 if (STRNCMP(arg, "t_", 2) == 0) |
7181 { | 7181 { |
7182 off = 0; | 7182 off = 0; |
7183 buf[0] = 0; | 7183 buf[0] = 0; |
7683 if (do_tooltip) | 7683 if (do_tooltip) |
7684 { | 7684 { |
7685 /* The Athena widget set cannot currently handle switching between | 7685 /* The Athena widget set cannot currently handle switching between |
7686 * displaying a single font and a fontset. | 7686 * displaying a single font and a fontset. |
7687 * If the XtNinternational resource is set to True at widget | 7687 * If the XtNinternational resource is set to True at widget |
7688 * creation, then a fontset is always used, othwise an | 7688 * creation, then a fontset is always used, otherwise an |
7689 * XFontStruct is used. | 7689 * XFontStruct is used. |
7690 */ | 7690 */ |
7691 gui.tooltip_fontset = (XFontSet)HL_TABLE()[idx].sg_fontset; | 7691 gui.tooltip_fontset = (XFontSet)HL_TABLE()[idx].sg_fontset; |
7692 gui_mch_new_tooltip_font(); | 7692 gui_mch_new_tooltip_font(); |
7693 } | 7693 } |