Code::Blocks
SVN r11506
|
#include <editorlexerloader.h>
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 | |
EditorColourSet * | m_pTarget |
Definition at line 15 of file editorlexerloader.h.
EditorLexerLoader::EditorLexerLoader | ( | EditorColourSet * | target | ) |
Definition at line 25 of file editorlexerloader.cpp.
|
virtual |
Definition at line 31 of file editorlexerloader.cpp.
|
protected |
Definition at line 206 of file editorlexerloader.cpp.
References _T, and DoSingleKeywordNode().
Referenced by DoLexer().
|
protected |
Definition at line 257 of file editorlexerloader.cpp.
References CommentToken::boxCommentEnd, CommentToken::boxCommentMid, CommentToken::boxCommentStart, DoLangAttributesLexerStyles(), CommentToken::doxygenLineComment, CommentToken::doxygenStreamCommentEnd, CommentToken::doxygenStreamCommentStart, CommentToken::lineComment, m_pTarget, EditorColourSet::SetCaseSensitivity(), EditorColourSet::SetCharacterLexerStyles(), EditorColourSet::SetCommentLexerStyles(), EditorColourSet::SetCommentToken(), EditorColourSet::SetPreprocessorLexerStyles(), EditorColourSet::SetStringLexerStyles(), CommentToken::streamCommentEnd, and CommentToken::streamCommentStart.
Referenced by DoLexer().
|
protected |
Definition at line 299 of file editorlexerloader.cpp.
References _T, GetArrayFromString(), and wxString::IsEmpty().
Referenced by DoLangAttributes().
|
protected |
Definition at line 74 of file editorlexerloader.cpp.
References _(), EditorColourSet::AddHighlightLanguage(), DoKeywords(), DoLangAttributes(), DoSampleCode(), DoStyles(), Manager::Get(), Manager::GetLogManager(), HL_NONE, LogManager::Log(), m_pTarget, and EditorColourSet::SetFileMasks().
Referenced by Load().
|
protected |
Definition at line 243 of file editorlexerloader.cpp.
References wxString::IsEmpty(), m_pTarget, and EditorColourSet::SetSampleCode().
Referenced by DoLexer().
|
protected |
Definition at line 217 of file editorlexerloader.cpp.
References _T, m_pTarget, wxString::mb_str(), wxRegEx::Replace(), and EditorColourSet::SetKeywords().
Referenced by DoKeywords().
|
protected |
Definition at line 97 of file editorlexerloader.cpp.
References _T, EditorColourSet::AddOption(), Doxygen::B, cbHIGHLIGHT_LINE, cbSELECTION, GetArrayFromString(), wxArrayString::GetCount(), m_pTarget, wxColour::Set(), wxNullColour, wxSCI_STYLE_BRACEBAD, wxSCI_STYLE_BRACELIGHT, wxSCI_STYLE_INDENTGUIDE, and wxT.
Referenced by DoLexer().
void EditorLexerLoader::Load | ( | LoaderBase * | loader | ) |
Definition at line 36 of file editorlexerloader.cpp.
References _(), cbC2U(), DoLexer(), LoaderBase::FileName(), Manager::Get(), LoaderBase::GetData(), Manager::GetLogManager(), and LogManager::Log().
Referenced by EditorColourSet::LoadAvailableSets().
|
protected |
Definition at line 30 of file editorlexerloader.h.
Referenced by DoLangAttributes(), DoLexer(), DoSampleCode(), DoSingleKeywordNode(), and DoStyles().