#ifndef NEDIT_HIGHLIGHTDATA_H_INCLUDED
#define NEDIT_HIGHLIGHTDATA_H_INCLUDED
#include "nedit.h"
#include "highlight.h"
#include "colorprofile.h"
#include <X11/Intrinsic.h>
#include <X11/Xlib.h>
#include "textDisp.h"
void SetColorProfileName(
const char *profileName);
void SetColorProfileStyleType(
int profileStyleType);
void ColorProfileLoadHighlightStyles(ColorProfile *profile);
patternSet *FindPatternSet(
const char *langModeName);
int LoadHighlightString(
char *inString,
int convertOld);
char *WriteHighlightString(
void);
int LoadStylesString(
char *inString, Boolean profile);
char *WriteStylesString(
void);
char *WriteColorProfileStylesString(
void);
void EditHighlightStyles(
const char *initialStyle);
void EditHighlightPatterns(WindowInfo *window);
void UpdateLanguageModeMenu(
void);
int LMHasHighlightPatterns(
const char *languageMode);
NFont *FontOfNamedStyle(ColorProfile *colorProfile, WindowInfo *window,
const char *styleName);
int FontOfNamedStyleIsBold(ColorProfile *colorProfile,
char *styleName);
int FontOfNamedStyleIsItalic(ColorProfile *colorProfile,
char *styleName);
char *ColorOfNamedStyle(ColorProfile *colorProfile,
const char *styleName);
char *BgColorOfNamedStyle(ColorProfile *colorProfile,
const char *styleName);
int IndexOfNamedStyle(ColorProfile *colorProfile,
const char *styleName);
int NamedStyleExists(ColorProfile *colorProfile,
const char *styleName);
void RenameHighlightPattern(
const char *oldName,
const char *newName);
#endif