1 /* $Id: highlightData.h,v 1.10 2002/10/15 11:00:41 ajhood Exp $ */
3 #ifndef NEDIT_HIGHLIGHTDATA_H_INCLUDED
4 #define NEDIT_HIGHLIGHTDATA_H_INCLUDED
9 #include <X11/Intrinsic.h>
12 patternSet
*FindPatternSet(const char *langModeName
);
13 int LoadHighlightString(char *inString
, int convertOld
);
14 char *WriteHighlightString(void);
15 int LoadStylesString(char *inString
);
16 char *WriteStylesString(void);
17 void EditHighlightStyles(Widget parent
, const char *initialStyle
);
18 void EditHighlightPatterns(WindowInfo
*window
);
19 void UpdateLanguageModeMenu(void);
20 int LMHasHighlightPatterns(const char *languageMode
);
21 XFontStruct
*FontOfNamedStyle(WindowInfo
*window
, const char *styleName
);
22 int FontOfNamedStyleIsBold(char *styleName
);
23 int FontOfNamedStyleIsItalic(char *styleName
);
24 char *ColorOfNamedStyle(const char *styleName
);
25 char *BgColorOfNamedStyle(const char *styleName
);
26 int IndexOfNamedStyle(const char *styleName
);
27 int NamedStyleExists(const char *styleName
);
28 void RenameHighlightPattern(const char *oldName
, const char *newName
);
30 #endif /* NEDIT_HIGHLIGHTDATA_H_INCLUDED */