Kate
katehighlight.h
Go to the documentation of this file.
76 KateHlContextModification (int _newContext = -1, int _pops = 0) : type (doNothing), newContext (_newContext), pops (_pops) //krazy:exclude=explicit
254 void getKateExtendedAttributeList(const QString &schema, QList<KateExtendedAttribute::Ptr> &, KConfig* cfg=0);
255 void getKateExtendedAttributeListCopy(const QString &schema, QList<KateExtendedAttribute::Ptr> &,KConfig* cfg=0);
267 KateHlContext *contextNum (int n) { if (n >= 0 && n < m_contexts.size()) return m_contexts[n]; Q_ASSERT (0); return m_contexts[0]; }
300 KateHlContext *generateContextStack(Kate::TextLineData::ContextStack &contextStack, KateHlContextModification modification, int &indexLastContextPreviousLine);
302 KateHlItem *createKateHlItem(KateSyntaxContextData *data, QList<KateExtendedAttribute::Ptr> &iDl, QStringList *RegionList, QStringList *ContextList);
306 KateHlContextModification getContextModificationFromString(QStringList *ContextNameList, QString tmpLineEndContext,/*NO CONST*/ QString &unres);
Definition: katehighlight.h:103
This class can be used to efficiently search for occurrences of strings in a given string...
Definition: prefixstore.h:41
bool canComment(int startAttr, int endAttr) const
Definition: katehighlight.cpp:1111
KateHlContextModification(int _newContext=-1, int _pops=0)
Constructor.
Definition: katehighlight.h:76
const QString & getIdentifier() const
Definition: katehighlight.h:161
QMap< QString, KateEmbeddedHlInfo > KateEmbeddedHlInfos
Definition: katehighlight.h:116
int pops
number of contexts to pop from the stack before pushing a new context on it
Definition: katehighlight.h:100
Definition: katehighlighthelpers.h:28
KateHighlighting(const KateSyntaxModeListItem *def)
Definition: katehighlight.cpp:71
QString getCommentStart(int attrib=0) const
Definition: katehighlight.cpp:1119
void use()
Increase the usage count, and trigger initialization if needed.
Definition: katehighlight.cpp:719
bool isEmptyLine(const Kate::TextLineData *textline) const
Definition: katehighlight.cpp:2171
bool canBreakAt(QChar c, int attrib=0) const
Definition: katehighlight.cpp:1091
QString hlKeyForAttrib(int attrib) const
map attribute to its highlighting file.
Definition: katehighlight.cpp:1068
QLinkedList< QRegExp > emptyLines(int attribute=0) const
Definition: katehighlight.cpp:1097
QString getCommentEnd(int attrib=0) const
Definition: katehighlight.cpp:1124
bool foldingIndentationSensitive()
Definition: katehighlight.h:399
const QString & nameTranslated() const
Definition: katehighlight.h:154
const KatePrefixStore & getCharacterEncodingsPrefixStore(int attrib) const
Definition: katehighlight.cpp:694
describe a modification of the context stack
Definition: katehighlight.h:61
Definition: katehighlighthelpers.h:72
CSLPos getCommentSingleLinePosition(int attrib=0) const
Definition: katehighlight.cpp:1134
bool attributeRequiresSpellchecking(int attr)
Definition: katehighlight.cpp:1045
int newContext
new context to push on the stack if this is < 0, push nothing on the stack
Definition: katehighlight.h:94
signed char commentRegion(int attr) const
Definition: katehighlight.cpp:1106
int getEncodedCharactersInsertionPolicy(int attrib) const
Definition: katehighlight.cpp:704
const QHash< QString, QChar > & characterEncodings(int attrib=0) const
Definition: katehighlight.cpp:1139
QList< KTextEditor::Attribute::Ptr > attributes(const QString &schema)
Definition: katehighlight.cpp:2134
KateEmbeddedHlInfo(bool l, int ctx0)
Definition: katehighlight.h:107
int defaultStyleForAttribute(int attrib) const
const QHash< QChar, QString > & getReverseCharacterEncodings(int attrib) const
Definition: katehighlight.cpp:699
QStringList getEmbeddedHighlightingModes() const
Returns a list of names of embedded modes.
Definition: katehighlight.cpp:2166
void doHighlight(const Kate::TextLineData *prevLine, Kate::TextLineData *textLine, const Kate::TextLineData *nextLine, bool &ctxChanged, int tabWidth=0)
Parse the text and fill in the context array and folding list array.
Definition: katehighlight.cpp:253
void getKateExtendedAttributeList(const QString &schema, QList< KateExtendedAttribute::Ptr > &, KConfig *cfg=0)
Definition: katehighlight.cpp:584
QString getCommentSingleLineStart(int attrib=0) const
Definition: katehighlight.cpp:1129
const QHash< QString, QChar > & getCharacterEncodings(int attrib) const
Definition: katehighlight.cpp:689
Definition: katehighlight.h:119
void setKateExtendedAttributeList(const QString &schema, QList< KateExtendedAttribute::Ptr > &, KConfig *cfg=0, bool writeDefaultsToo=false)
Saves the attribute definitions to the config file.
Definition: katehighlight.cpp:657
void getKateExtendedAttributeListCopy(const QString &schema, QList< KateExtendedAttribute::Ptr > &, KConfig *cfg=0)
Definition: katehighlight.cpp:639
QString hlKeyForContext(int attrib) const
Definition: katehighlight.cpp:1054
Definition: katehighlighthelpers.h:102
CSLPos
This enum is used for storing the information where a single line comment marker should be inserted...
Definition: katehighlight.h:219
void release()
Decrease the usage count, and trigger cleanup if needed.
Definition: katehighlight.cpp:730
bool isInWord(QChar c, int attrib=0) const
Definition: katehighlight.cpp:1084
Class holding the data around the current QDomElement.
Definition: katesyntaxdocument.h:62
QMap< KateHlContextModification *, QString > KateHlUnresolvedCtxRefs
Definition: katehighlight.h:117
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.