1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 #ifndef NEDIT_HIGHLIGHTDATA_H_INCLUDED
28 #define NEDIT_HIGHLIGHTDATA_H_INCLUDED
29
30 #include "nedit.h"
31 #include "highlight.h"
32 #include "colorprofile.h"
33
34 #include <X11/Intrinsic.h>
35 #include <X11/Xlib.h>
36
37 #include "textDisp.h"
38
39 void SetColorProfileName(
const char *profileName);
40 void SetColorProfileStyleType(
int profileStyleType);
41 void ColorProfileLoadHighlightStyles(ColorProfile *profile);
42 patternSet *FindPatternSet(
const char *langModeName);
43 int LoadHighlightString(
char *inString,
int convertOld);
44 char *WriteHighlightString(
void);
45 int LoadStylesString(
char *inString, Boolean profile);
46 char *WriteStylesString(
void);
47 char *WriteColorProfileStylesString(
void);
48 void EditHighlightStyles(
const char *initialStyle);
49 void EditHighlightPatterns(WindowInfo *window);
50 void UpdateLanguageModeMenu(
void);
51 int LMHasHighlightPatterns(
const char *languageMode);
52 NFont *FontOfNamedStyle(ColorProfile *colorProfile, WindowInfo *window,
const char *styleName);
53 int FontOfNamedStyleIsBold(ColorProfile *colorProfile,
char *styleName);
54 int FontOfNamedStyleIsItalic(ColorProfile *colorProfile,
char *styleName);
55 char *ColorOfNamedStyle(ColorProfile *colorProfile,
const char *styleName);
56 char *BgColorOfNamedStyle(ColorProfile *colorProfile,
const char *styleName);
57 int IndexOfNamedStyle(ColorProfile *colorProfile,
const char *styleName);
58 int NamedStyleExists(ColorProfile *colorProfile,
const char *styleName);
59 void RenameHighlightPattern(
const char *oldName,
const char *newName);
60
61 #endif
62