Kate
katehighlighthelpers.cpp
Go to the documentation of this file.
39 KateHlItem::KateHlItem(int attribute, KateHlContextModification context,signed char regionId,signed char regionId2)
89 KateHlCharDetect::KateHlCharDetect(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2, QChar c)
117 KateHl2CharDetect::KateHl2CharDetect(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2, QChar ch1, QChar ch2)
143 KateHl2CharDetect *ret = new KateHl2CharDetect(attr, ctx, region, region2, (*args)[c1 - '0'][0], (*args)[c2 - '0'][0]);
150 KateHlStringDetect::KateHlStringDetect(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2,const QString &s, bool inSensitive)
192 KateHlStringDetect *ret = new KateHlStringDetect(attr, ctx, region, region2, newstr, _inSensitive);
200 KateHlWordDetect::KateHlWordDetect(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, const QString& s, bool inSensitive)
247 KateHlRangeDetect::KateHlRangeDetect(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2, QChar ch1, QChar ch2)
273 KateHlKeyword::KateHlKeyword (int attribute, KateHlContextModification context, signed char regionId,signed char regionId2, bool insensitive, const QString& delims)
364 KateHlInt::KateHlInt(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2)
399 KateHlFloat::KateHlFloat(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2)
495 KateHlCOct::KateHlCOct(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2)
518 if ((len > 0) && ((text[offset2].toAscii() & 0xdf) == 'L' || (text[offset].toAscii() & 0xdf) == 'U' ))
530 KateHlCHex::KateHlCHex(int attribute, KateHlContextModification context,signed char regionId,signed char regionId2)
538 if ((len > 1) && (text[offset++].toAscii() == '0') && ((text[offset++].toAscii() & 0xdf) == 'X' ))
544 while ((len > 0) && (text[offset2].isDigit() || ((text[offset2].toAscii() & 0xdf) >= 'A' && (text[offset2].toAscii() & 0xdf) <= 'F')))
552 if ((len > 0) && ((text[offset2].toAscii() & 0xdf) == 'L' || (text[offset2].toAscii() & 0xdf) == 'U' ))
564 KateHlCFloat::KateHlCFloat(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2)
609 KateHlAnyChar::KateHlAnyChar(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2, const QString& charList)
625 KateHlRegExpr::KateHlRegExpr( int attribute, KateHlContextModification context, signed char regionId,signed char regionId2, const QString ®exp, bool insensitive, bool minimal)
692 KateHlRegExpr *ret = new KateHlRegExpr(attr, ctx, region, region2, regexp, _insensitive, _minimal);
699 KateHlLineContinue::KateHlLineContinue(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, QChar c)
715 KateHlCStringChar::KateHlCStringChar(int attribute, KateHlContextModification context,signed char regionId,signed char regionId2)
796 KateHlCChar::KateHlCChar(int attribute, KateHlContextModification context,signed char regionId,signed char regionId2)
833 KateHl2CharDetect::KateHl2CharDetect(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2, const QChar *s)
841 KateHlContext::KateHlContext (const QString &_hlId, int attribute, KateHlContextModification _lineEndContext, bool _fallthrough,
855 if (_noIndentationBasedFolding) kDebug(13010)<<QString("**********************_noIndentationBasedFolding is TRUE*****************");
861 KateHlContext *ret = new KateHlContext(hlId, attr, lineEndContext, fallthrough, ftctx, false,noIndentationBasedFolding
bool isMark() const
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:800
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:95
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:370
virtual KateHlItem * clone(const QStringList *args)
Definition: katehighlighthelpers.cpp:132
void append(const T &value)
KateHlItem(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:39
int length() const
void setMinimal(bool minimal)
Definition: katehighlighthelpers.h:28
Definition: katehighlighthelpers.h:163
KateHlWordDetect(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, const QString &, bool inSensitive=false)
Definition: katehighlighthelpers.cpp:200
void insert(int i, const T &value)
QString & remove(int position, int n)
KateHlContext(const QString &_hlId, int attribute, KateHlContextModification _lineEndContext, bool _fallthrough, KateHlContextModification _fallthroughContext, bool _dynamic, bool _noIndentationBasedFolding, bool _emptyLineContex, KateHlContextModification _emptyLineContextModification)
Definition: katehighlighthelpers.cpp:841
KateHlInt(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:364
int size() const
virtual void capturedTexts(QStringList &)
Definition: katehighlighthelpers.cpp:670
describe a modification of the context stack
Definition: katehighlight.h:61
Definition: katehighlighthelpers.h:72
int matchedLength() const
int indexIn(const QString &str, int offset, CaretMode caretMode) const
KateHlFloat(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:399
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:501
KateHlContextModification lineEndContext
Definition: katehighlighthelpers.h:85
QString fromRawData(const QChar *unicode, int size)
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:585
int count(const T &value) const
virtual KateHlItem * clone(const QStringList *)
Definition: katehighlighthelpers.h:43
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:124
void resize(int size)
KateHlContextModification emptyLineContextModification
Definition: katehighlighthelpers.h:99
int checkIntHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:570
bool noIndentationBasedFolding
Definition: katehighlighthelpers.h:96
QStringList capturedTexts() const
KateHlContext * clone(const QStringList *args)
Definition: katehighlighthelpers.cpp:859
Definition: katehighlighthelpers.h:284
KateHlKeyword(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, bool insensitive, const QString &delims)
Definition: katehighlighthelpers.cpp:273
typedef Iterator
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:638
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:254
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:158
virtual KateHlItem * clone(const QStringList *args)
Definition: katehighlighthelpers.cpp:183
KateHlLineContinue(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, QChar)
Definition: katehighlighthelpers.cpp:699
ushort unicode() const
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:333
KateHlCharDetect(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, QChar)
Definition: katehighlighthelpers.cpp:89
Definition: katehighlighthelpers.h:135
KateHlCStringChar(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:715
static int checkEscapedChar(const QString &text, int offset, int &len)
Definition: katehighlighthelpers.cpp:720
iterator end()
bool contains(QChar ch, Qt::CaseSensitivity cs) const
KateHlStringDetect(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, const QString &, bool inSensitive=false)
Definition: katehighlighthelpers.cpp:150
virtual KateHlItem * clone(const QStringList *args)
Definition: katehighlighthelpers.cpp:675
static void dynamicSubstitute(QString &str, const QStringList *args)
Definition: katehighlighthelpers.cpp:61
Definition: katehighlighthelpers.h:123
char toLatin1() const
bool contains(const T &value) const
QSet< QString > allKeywords() const
Definition: katehighlighthelpers.cpp:290
Definition: katehighlighthelpers.h:149
QString & replace(int position, int n, QChar after)
const QChar * unicode() const
KateHl2CharDetect(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, QChar ch1, QChar ch2)
Definition: katehighlighthelpers.cpp:117
QByteArray toLatin1() const
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:536
KateHlAnyChar(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, const QString &charList)
Definition: katehighlighthelpers.cpp:609
QSet< T > & unite(const QSet< T > &other)
KateHlRangeDetect(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, QChar ch1, QChar ch2)
Definition: katehighlighthelpers.cpp:247
KateHlCHex(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:530
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:789
KateHlCFloat(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:564
const QChar at(int position) const
virtual KateHlItem * clone(const QStringList *args)
Definition: katehighlighthelpers.cpp:103
QString hlId
A unique highlight identifier. Used to look up correct properties.
Definition: katehighlighthelpers.h:83
int length() const
KateHlCChar(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:796
KateHlCOct(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:495
Definition: katehighlighthelpers.h:210
virtual KateHlItem * clone(const QStringList *args)
Definition: katehighlighthelpers.cpp:229
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:705
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:213
int size() const
iterator begin()
QByteArray toAscii() const
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:615
KateHlRegExpr(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, const QString &expr, bool insensitive, bool minimal)
Definition: katehighlighthelpers.cpp:625
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:405
bool isLetterOrNumber() const
void replace(int i, const T &value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.