Code::Blocks  SVN r11506
editorlexerloader.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
3  * http://www.gnu.org/licenses/lgpl-3.0.html
4  */
5 
6 #ifndef EDITORLEXERLOADER_H
7 #define EDITORLEXERLOADER_H
8 
9 #include <wx/string.h>
10 
11 class EditorColourSet;
12 class LoaderBase;
13 class TiXmlElement;
14 
16 {
17  public:
19  virtual ~EditorLexerLoader();
20 
21  void Load(LoaderBase *loader);
22  protected:
23  void DoLexer(TiXmlElement* node);
24  void DoStyles(HighlightLanguage language, TiXmlElement* node);
25  void DoKeywords(HighlightLanguage language, TiXmlElement* node);
26  void DoSingleKeywordNode(HighlightLanguage language, TiXmlElement* node, const wxString& nodename);
27  void DoSampleCode(HighlightLanguage language, TiXmlElement* node);
28  void DoLangAttributes(HighlightLanguage language, TiXmlElement* node);
29  bool DoLangAttributesLexerStyles(TiXmlElement* attribs, const char *attributeName, std::set<int> &styles);
31  private:
32 };
33 
34 #endif // EDITORLEXERLOADER_H
void DoLexer(TiXmlElement *node)
void DoSingleKeywordNode(HighlightLanguage language, TiXmlElement *node, const wxString &nodename)
void DoLangAttributes(HighlightLanguage language, TiXmlElement *node)
void DoSampleCode(HighlightLanguage language, TiXmlElement *node)
EditorLexerLoader(EditorColourSet *target)
void Load(LoaderBase *loader)
EditorColourSet * m_pTarget
bool DoLangAttributesLexerStyles(TiXmlElement *attribs, const char *attributeName, std::set< int > &styles)
void DoStyles(HighlightLanguage language, TiXmlElement *node)
void DoKeywords(HighlightLanguage language, TiXmlElement *node)