Code::Blocks  SVN r11506
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EditorLexerLoader Class Reference

#include <editorlexerloader.h>

Collaboration diagram for EditorLexerLoader:

Public Member Functions

 EditorLexerLoader (EditorColourSet *target)
 
virtual ~EditorLexerLoader ()
 
void Load (LoaderBase *loader)
 

Protected Member Functions

void DoLexer (TiXmlElement *node)
 
void DoStyles (HighlightLanguage language, TiXmlElement *node)
 
void DoKeywords (HighlightLanguage language, TiXmlElement *node)
 
void DoSingleKeywordNode (HighlightLanguage language, TiXmlElement *node, const wxString &nodename)
 
void DoSampleCode (HighlightLanguage language, TiXmlElement *node)
 
void DoLangAttributes (HighlightLanguage language, TiXmlElement *node)
 
bool DoLangAttributesLexerStyles (TiXmlElement *attribs, const char *attributeName, std::set< int > &styles)
 

Protected Attributes

EditorColourSetm_pTarget
 

Detailed Description

Definition at line 15 of file editorlexerloader.h.

Constructor & Destructor Documentation

◆ EditorLexerLoader()

EditorLexerLoader::EditorLexerLoader ( EditorColourSet target)

Definition at line 25 of file editorlexerloader.cpp.

◆ ~EditorLexerLoader()

EditorLexerLoader::~EditorLexerLoader ( )
virtual

Definition at line 31 of file editorlexerloader.cpp.

Member Function Documentation

◆ DoKeywords()

void EditorLexerLoader::DoKeywords ( HighlightLanguage  language,
TiXmlElement *  node 
)
protected

Definition at line 206 of file editorlexerloader.cpp.

References _T, and DoSingleKeywordNode().

Referenced by DoLexer().

◆ DoLangAttributes()

void EditorLexerLoader::DoLangAttributes ( HighlightLanguage  language,
TiXmlElement *  node 
)
protected

◆ DoLangAttributesLexerStyles()

bool EditorLexerLoader::DoLangAttributesLexerStyles ( TiXmlElement *  attribs,
const char *  attributeName,
std::set< int > &  styles 
)
protected

Definition at line 299 of file editorlexerloader.cpp.

References _T, GetArrayFromString(), and wxString::IsEmpty().

Referenced by DoLangAttributes().

◆ DoLexer()

void EditorLexerLoader::DoLexer ( TiXmlElement *  node)
protected

◆ DoSampleCode()

void EditorLexerLoader::DoSampleCode ( HighlightLanguage  language,
TiXmlElement *  node 
)
protected

Definition at line 243 of file editorlexerloader.cpp.

References wxString::IsEmpty(), m_pTarget, and EditorColourSet::SetSampleCode().

Referenced by DoLexer().

◆ DoSingleKeywordNode()

void EditorLexerLoader::DoSingleKeywordNode ( HighlightLanguage  language,
TiXmlElement *  node,
const wxString nodename 
)
protected

◆ DoStyles()

void EditorLexerLoader::DoStyles ( HighlightLanguage  language,
TiXmlElement *  node 
)
protected

◆ Load()

void EditorLexerLoader::Load ( LoaderBase loader)

Member Data Documentation

◆ m_pTarget

EditorColourSet* EditorLexerLoader::m_pTarget
protected

The documentation for this class was generated from the following files: