KateHighlighting Class Reference
List of all members.Detailed Description
Definition at line 103 of file katehighlight.h.
Public Types | |
enum | CSLPos { CSLPosColumn0 = 0, CSLPosAfterWhitespace = 1 } |
Public Member Functions | |
KateHighlighting (const KateSyntaxModeListItem *def) | |
~KateHighlighting () | |
void | doHighlight (KateTextLine *prevLine, KateTextLine *textLine, QMemArray< uint > *foldingList, bool *ctxChanged) |
void | loadWildcards () |
QValueList< QRegExp > & | getRegexpExtensions () |
QStringList & | getPlainExtensions () |
QString | getMimetypes () |
KateHlData * | getData () |
void | setData (KateHlData *) |
void | setKateHlItemDataList (uint schema, KateHlItemDataList &) |
void | getKateHlItemDataListCopy (uint schema, KateHlItemDataList &) |
const QString & | name () const |
const QString & | nameTranslated () const |
const QString & | section () const |
bool | hidden () const |
const QString & | version () const |
const QString & | author () const |
const QString & | license () const |
int | priority () |
const QString & | getIdentifier () const |
void | use () |
void | release () |
bool | isInWord (QChar c, int attrib=0) const |
bool | canBreakAt (QChar c, int attrib=0) const |
bool | canComment (int startAttr, int endAttr) const |
signed char | commentRegion (int attr) const |
QString | getCommentStart (int attrib=0) const |
QString | getCommentEnd (int attrib=0) const |
QString | getCommentSingleLineStart (int attrib=0) const |
CSLPos | getCommentSingleLinePosition (int attrib=0) const |
int | attribute (int context) const |
QString | hlKeyForAttrib (int attrib) const |
void | clearAttributeArrays () |
QMemArray< KateAttribute > * | attributes (uint schema) |
bool | noHighlighting () const |
void | dropDynamicContexts () |
QString | indentation () |
bool | foldingIndentationSensitive () |
bool | allowsFolding () |
Member Enumeration Documentation
|
This enum is used for storing the information where a single line comment marker should be inserted.
Definition at line 190 of file katehighlight.h. |
Member Function Documentation
|
|
|
Definition at line 2095 of file katehighlight.cpp. |
|
Definition at line 2106 of file katehighlight.cpp. |
|
Definition at line 2101 of file katehighlight.cpp. |
|
Parse the text and fill in the context array and folding list array.
Definition at line 1339 of file katehighlight.cpp. |
|
Drop all dynamic contexts. Shall be called with extreme care, and shall be immediatly followed by a full HL invalidation. Definition at line 1320 of file katehighlight.cpp. |
|
Definition at line 2119 of file katehighlight.cpp. |
|
Definition at line 2129 of file katehighlight.cpp. |
|
Definition at line 2124 of file katehighlight.cpp. |
|
Definition at line 2114 of file katehighlight.cpp. |
|
map attribute to its highlighting file. the returned string is used as key for m_additionalData. Definition at line 2073 of file katehighlight.cpp. |
|
Definition at line 2089 of file katehighlight.cpp. |
|
Decrease the usage count, and trigger cleanup if needed.
Definition at line 1769 of file katehighlight.cpp. |
|
Saves the KateHlData attribute definitions to the config file.
Definition at line 1730 of file katehighlight.cpp. |
|
Increase the usage count, and trigger initialization if needed.
Definition at line 1758 of file katehighlight.cpp. |
The documentation for this class was generated from the following files: