SyntaxDocument Class Reference
Store and manage the information about Syntax Highlighting. More...
#include <katesyntaxdocument.h>
Inheritance diagram for SyntaxDocument:

Public Member Functions | |
SyntaxDocument (bool force=false) | |
~SyntaxDocument () | |
bool | setIdentifier (const QString &identifier) |
SyntaxModeList | modeList () |
bool | nextGroup (syntaxContextData *data) |
bool | nextItem (syntaxContextData *data) |
QString | groupItemData (const syntaxContextData *data, const QString &name) |
QString | groupData (const syntaxContextData *data, const QString &name) |
void | freeGroupInfo (syntaxContextData *data) |
syntaxContextData * | getSubItems (syntaxContextData *data) |
syntaxContextData * | getConfig (const QString &mainGroupName, const QString &config) |
syntaxContextData * | getGroupInfo (const QString &mainGroupName, const QString &group) |
QStringList & | finddata (const QString &mainGroup, const QString &type, bool clearList=true) |
Detailed Description
Store and manage the information about Syntax Highlighting.
Definition at line 57 of file katesyntaxdocument.h.
Constructor & Destructor Documentation
|
Constructor: Sets the current file to nothing and build the ModeList (katesyntaxhighlightingrc).
Definition at line 33 of file katesyntaxdocument.cpp. References SyntaxDocument(). Referenced by SyntaxDocument(). |
|
Desctructor.
Definition at line 44 of file katesyntaxdocument.cpp. |
Member Function Documentation
|
If the open hl file is different from the one needed, it opens the new one and assign some other things. identifier = File name and path of the new xml needed Definition at line 52 of file katesyntaxdocument.cpp. References setIdentifier(). Referenced by setIdentifier(). |
|
Get the mode list.
Definition at line 94 of file katesyntaxdocument.cpp. |
|
Jump to the next group, syntaxContextData::currentGroup will point to the next group.
Definition at line 102 of file katesyntaxdocument.cpp. References syntaxContextData::currentGroup, nextGroup(), and syntaxContextData::parent. Referenced by nextGroup(). |
|
Jump to the next item, syntaxContextData::item will point to the next item.
Definition at line 133 of file katesyntaxdocument.cpp. References syntaxContextData::currentGroup, syntaxContextData::item, and nextItem(). Referenced by nextItem(). |
|
This function is used to fetch the atributes of the tags.
Definition at line 161 of file katesyntaxdocument.cpp. References groupItemData(), and syntaxContextData::item. Referenced by groupItemData(). |
|
Get the syntaxContextData of the DomElement Config inside mainGroupName It just fills syntaxContextData::item.
Definition at line 255 of file katesyntaxdocument.cpp. References getConfig(), and syntaxContextData::item. Referenced by getConfig(). |
|
Get the syntaxContextData of the QDomElement Config inside mainGroupName syntaxContextData::parent will contain the QDomElement found.
Definition at line 271 of file katesyntaxdocument.cpp. References getGroupInfo(), and syntaxContextData::parent. Referenced by getGroupInfo(). |
|
Returns a list with all the keywords inside the list type.
Definition at line 286 of file katesyntaxdocument.cpp. References endl(), finddata(), and kdDebug(). Referenced by finddata(). |
The documentation for this class was generated from the following files: