• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Kate

  • sources
  • kde-4.12
  • applications
  • kate
  • part
  • syntax
katehighlighthelpers.h
Go to the documentation of this file.
1 /* This file is part of the KDE libraries
2  Copyright (C) 2001,2002 Joseph Wenninger <jowenn@kde.org>
3  Copyright (C) 2001 Christoph Cullmann <cullmann@kde.org>
4  Copyright (C) 1999 Jochen Wilhelmy <digisnap@cs.tu-berlin.de>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License version 2 as published by the Free Software Foundation.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef __KATE_HIGHLIGHTHELPERS_H__
22 #define __KATE_HIGHLIGHTHELPERS_H__
23 
24 #include "katehighlight.h"
25 
26 #include <QRegExp>
27 
28 class KateHlItem
29 {
30  public:
31  KateHlItem(int attribute, KateHlContextModification context,signed char regionId, signed char regionId2);
32  virtual ~KateHlItem();
33 
34  public:
35  // caller must keep in mind: LEN > 0 is a must !!!!!!!!!!!!!!!!!!!!!1
36  // Now, the function returns the offset detected, or 0 if no match is found.
37  // bool linestart isn't needed, this is equivalent to offset == 0.
38  virtual int checkHgl(const QString& text, int offset, int len) = 0;
39 
40  virtual bool lineContinue(){return false;}
41 
42  virtual void capturedTexts (QStringList &) { }
43  virtual KateHlItem *clone(const QStringList *) {return this;}
44 
45  static void dynamicSubstitute(QString& str, const QStringList *args);
46 
47  QVector<KateHlItem*> subItems;
48  int attr;
49  KateHlContextModification ctx;
50  signed char region;
51  signed char region2;
52 
53  bool lookAhead;
54 
55  bool dynamic;
56  bool dynamicChild;
57  bool firstNonSpace;
58  bool onlyConsume;
59  int column;
60 
61  // start enable flags, nicer than the virtual methodes
62  // saves function calls
63  bool alwaysStartEnable;
64  bool customStartEnable;
65 
66  // set to true when you cached something
67  bool haveCache;
68  // internal for doHighlight, don't set it in the items
69  bool cachingHandled;
70 };
71 
72 class KateHlContext
73 {
74  public:
75  KateHlContext(const QString &_hlId, int attribute, KateHlContextModification _lineEndContext,
76  bool _fallthrough, KateHlContextModification _fallthroughContext, bool _dynamic,bool _noIndentationBasedFolding,
77  bool _emptyLineContex, KateHlContextModification _emptyLineContextModification
78  );
79  virtual ~KateHlContext();
80  KateHlContext *clone(const QStringList *args);
81 
82  QVector<KateHlItem*> items;
83  QString hlId;
84  int attr;
85  KateHlContextModification lineEndContext;
91  bool fallthrough;
92  KateHlContextModification ftctx; // where to go after no rules matched
93 
94  bool dynamic;
95  bool dynamicChild;
96  bool noIndentationBasedFolding;
97 
98  bool emptyLineContext;
99  KateHlContextModification emptyLineContextModification;
100 };
101 
102 class KateHlIncludeRule
103 {
104  public:
105  explicit KateHlIncludeRule(int ctx_=0, uint pos_=0, const QString &incCtxN_="", bool incAttrib=false)
106  : ctx(ctx_)
107  , pos( pos_)
108  , incCtxN( incCtxN_ )
109  , includeAttrib( incAttrib )
110  {
111  incCtx=-1;
112  }
113  //KateHlIncludeRule(int ctx_, uint pos_, bool incAttrib) {ctx=ctx_;pos=pos_;incCtx=-1;incCtxN="";includeAttrib=incAttrib}
114 
115  public:
116  int ctx;
117  uint pos;
118  KateHlContextModification incCtx;
119  QString incCtxN;
120  bool includeAttrib;
121 };
122 
123 class KateHlCharDetect : public KateHlItem
124 {
125  public:
126  KateHlCharDetect(int attribute, KateHlContextModification context,signed char regionId,signed char regionId2, QChar);
127 
128  virtual int checkHgl(const QString& text, int offset, int len);
129  virtual KateHlItem *clone(const QStringList *args);
130 
131  private:
132  QChar sChar;
133 };
134 
135 class KateHl2CharDetect : public KateHlItem
136 {
137  public:
138  KateHl2CharDetect(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2, QChar ch1, QChar ch2);
139  KateHl2CharDetect(int attribute, KateHlContextModification context,signed char regionId,signed char regionId2, const QChar *ch);
140 
141  virtual int checkHgl(const QString& text, int offset, int len);
142  virtual KateHlItem *clone(const QStringList *args);
143 
144  private:
145  QChar sChar1;
146  QChar sChar2;
147 };
148 
149 class KateHlStringDetect : public KateHlItem
150 {
151  public:
152  KateHlStringDetect(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2, const QString &, bool inSensitive=false);
153 
154  virtual int checkHgl(const QString& text, int offset, int len);
155  virtual KateHlItem *clone(const QStringList *args);
156 
157  protected:
158  const QString str;
159  const int strLen;
160  const bool _inSensitive;
161 };
162 
163 class KateHlWordDetect : public KateHlStringDetect
164 {
165  public:
166  KateHlWordDetect(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, const QString &, bool inSensitive = false);
167 
168  virtual int checkHgl(const QString& text, int offset, int len);
169  virtual KateHlItem *clone(const QStringList *args);
170 };
171 
172 class KateHlRangeDetect : public KateHlItem
173 {
174  public:
175  KateHlRangeDetect(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2, QChar ch1, QChar ch2);
176 
177  virtual int checkHgl(const QString& text, int offset, int len);
178 
179  private:
180  QChar sChar1;
181  QChar sChar2;
182 };
183 
184 class KateHlKeyword : public KateHlItem
185 {
186  public:
187  KateHlKeyword(int attribute, KateHlContextModification context,signed char regionId,signed char regionId2, bool insensitive, const QString& delims);
188  virtual ~KateHlKeyword ();
189 
190  void addList(const QStringList &);
191  virtual int checkHgl(const QString& text, int offset, int len);
192 
193  private:
194  QVector< QSet<QString>* > dict;
195  bool _insensitive;
196  QSet<QChar> deliminators;
197  int minLen;
198  int maxLen;
199 };
200 
201 class KateHlInt : public KateHlItem
202 {
203  public:
204  KateHlInt(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2);
205 
206  virtual int checkHgl(const QString& text, int offset, int len);
207 };
208 
209 class KateHlFloat : public KateHlItem
210 {
211  public:
212  KateHlFloat(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2);
213  virtual ~KateHlFloat () {}
214 
215  virtual int checkHgl(const QString& text, int offset, int len);
216 };
217 
218 class KateHlCFloat : public KateHlFloat
219 {
220  public:
221  KateHlCFloat(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2);
222 
223  virtual int checkHgl(const QString& text, int offset, int len);
224  int checkIntHgl(const QString& text, int offset, int len);
225 };
226 
227 class KateHlCOct : public KateHlItem
228 {
229  public:
230  KateHlCOct(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2);
231 
232  virtual int checkHgl(const QString& text, int offset, int len);
233 };
234 
235 class KateHlCHex : public KateHlItem
236 {
237  public:
238  KateHlCHex(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2);
239 
240  virtual int checkHgl(const QString& text, int offset, int len);
241 };
242 
243 class KateHlLineContinue : public KateHlItem
244 {
245  public:
246  KateHlLineContinue(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2);
247 
248  virtual bool endEnable(QChar c) {return c == '\0';}
249  virtual int checkHgl(const QString& text, int offset, int len);
250  virtual bool lineContinue(){return true;}
251 };
252 
253 class KateHlCStringChar : public KateHlItem
254 {
255  public:
256  KateHlCStringChar(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2);
257 
258  virtual int checkHgl(const QString& text, int offset, int len);
259 };
260 
261 class KateHlCChar : public KateHlItem
262 {
263  public:
264  KateHlCChar(int attribute, KateHlContextModification context,signed char regionId,signed char regionId2);
265 
266  virtual int checkHgl(const QString& text, int offset, int len);
267 };
268 
269 class KateHlAnyChar : public KateHlItem
270 {
271  public:
272  KateHlAnyChar(int attribute, KateHlContextModification context, signed char regionId,signed char regionId2, const QString& charList);
273 
274  virtual int checkHgl(const QString& text, int offset, int len);
275 
276  private:
277  const QString _charList;
278 };
279 
280 class KateHlRegExpr : public KateHlItem
281 {
282  public:
283  KateHlRegExpr(int attribute, KateHlContextModification context,signed char regionId,signed char regionId2 ,const QString &expr, bool insensitive, bool minimal);
284 
285  virtual int checkHgl(const QString& text, int offset, int len);
286 
287  virtual void capturedTexts (QStringList &);
288 
289  virtual KateHlItem *clone(const QStringList *args);
290 
291  private:
292  bool handlesLinestart;
293  QString _regexp;
294  bool _insensitive;
295  bool _minimal;
296 
297  // optimization stuff below
299  int _lastOffset;
301  int _lastOffsetLength;
302 
303  QRegExp Expr;
304 };
305 
306 class KateHlDetectSpaces : public KateHlItem
307 {
308  public:
309  KateHlDetectSpaces (int attribute, KateHlContextModification context,signed char regionId,signed char regionId2)
310  : KateHlItem(attribute,context,regionId,regionId2) {}
311 
312  virtual int checkHgl(const QString& text, int offset, int len)
313  {
314  int len2 = offset + len;
315  while ((offset < len2) && text[offset].isSpace()) offset++;
316  return offset;
317  }
318 };
319 
320 class KateHlDetectIdentifier : public KateHlItem
321 {
322  public:
323  KateHlDetectIdentifier (int attribute, KateHlContextModification context,signed char regionId,signed char regionId2)
324  : KateHlItem(attribute,context,regionId,regionId2) { alwaysStartEnable = false; }
325 
326  virtual int checkHgl(const QString& text, int offset, int len)
327  {
328  // first char should be a letter or underscore
329  if ( text[offset].isLetter() || text[offset] == QChar ('_') )
330  {
331  // memorize length
332  int len2 = offset+len;
333 
334  // one char seen
335  offset++;
336 
337  // now loop for all other thingies
338  while (
339  (offset < len2)
340  && (text[offset].isLetterOrNumber() || (text[offset] == QChar ('_')))
341  )
342  offset++;
343 
344  return offset;
345  }
346 
347  return 0;
348  }
349 };
350 
351 //END
352 
353 #endif
354 
355 // kate: space-indent on; indent-width 2; replace-tabs on;
KateHlItem::lineContinue
virtual bool lineContinue()
Definition: katehighlighthelpers.h:40
KateHlIncludeRule::includeAttrib
bool includeAttrib
Definition: katehighlighthelpers.h:120
katehighlight.h
KateHlStringDetect::str
const QString str
Definition: katehighlighthelpers.h:158
KateHlCChar::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:786
KateHlStringDetect::_inSensitive
const bool _inSensitive
Definition: katehighlighthelpers.h:160
KateHlCharDetect::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:95
KateHlInt::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:358
KateHl2CharDetect::clone
virtual KateHlItem * clone(const QStringList *args)
Definition: katehighlighthelpers.cpp:132
KateHlItem::KateHlItem
KateHlItem(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:39
KateHlDetectIdentifier::KateHlDetectIdentifier
KateHlDetectIdentifier(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.h:323
KateHlContext::fallthrough
bool fallthrough
Definition: katehighlighthelpers.h:91
KateHlItem
Definition: katehighlighthelpers.h:28
KateHlWordDetect
Definition: katehighlighthelpers.h:163
KateHlWordDetect::KateHlWordDetect
KateHlWordDetect(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, const QString &, bool inSensitive=false)
Definition: katehighlighthelpers.cpp:200
KateHlContext::dynamic
bool dynamic
Definition: katehighlighthelpers.h:94
KateHlLineContinue
Definition: katehighlighthelpers.h:243
KateHlItem::onlyConsume
bool onlyConsume
Definition: katehighlighthelpers.h:58
KateHlItem::subItems
QVector< KateHlItem * > subItems
Definition: katehighlighthelpers.h:47
KateHlItem::ctx
KateHlContextModification ctx
Definition: katehighlighthelpers.h:49
KateHlIncludeRule::ctx
int ctx
Definition: katehighlighthelpers.h:116
KateHlItem::haveCache
bool haveCache
Definition: katehighlighthelpers.h:67
QString
KateHlContext::KateHlContext
KateHlContext(const QString &_hlId, int attribute, KateHlContextModification _lineEndContext, bool _fallthrough, KateHlContextModification _fallthroughContext, bool _dynamic, bool _noIndentationBasedFolding, bool _emptyLineContex, KateHlContextModification _emptyLineContextModification)
Definition: katehighlighthelpers.cpp:827
KateHlInt::KateHlInt
KateHlInt(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:352
KateHlItem::region
signed char region
Definition: katehighlighthelpers.h:50
KateHlLineContinue::endEnable
virtual bool endEnable(QChar c)
Definition: katehighlighthelpers.h:248
KateHlRegExpr::capturedTexts
virtual void capturedTexts(QStringList &)
Definition: katehighlighthelpers.cpp:658
KateHlContext::items
QVector< KateHlItem * > items
Definition: katehighlighthelpers.h:82
KateHlItem::capturedTexts
virtual void capturedTexts(QStringList &)
Definition: katehighlighthelpers.h:42
KateHlCOct
Definition: katehighlighthelpers.h:227
KateHlContextModification
describe a modification of the context stack
Definition: katehighlight.h:61
KateHlContext
Definition: katehighlighthelpers.h:72
KateHlFloat::KateHlFloat
KateHlFloat(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:387
KateHlCOct::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:489
KateHlContext::lineEndContext
KateHlContextModification lineEndContext
Definition: katehighlighthelpers.h:85
KateHlRangeDetect
Definition: katehighlighthelpers.h:172
KateHlCFloat::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:573
KateHlItem::clone
virtual KateHlItem * clone(const QStringList *)
Definition: katehighlighthelpers.h:43
KateHlIncludeRule::incCtxN
QString incCtxN
Definition: katehighlighthelpers.h:119
KateHl2CharDetect::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:124
KateHlContext::emptyLineContextModification
KateHlContextModification emptyLineContextModification
Definition: katehighlighthelpers.h:99
KateHlCFloat::checkIntHgl
int checkIntHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:558
KateHlContext::noIndentationBasedFolding
bool noIndentationBasedFolding
Definition: katehighlighthelpers.h:96
KateHlRegExpr
Definition: katehighlighthelpers.h:280
KateHlContext::clone
KateHlContext * clone(const QStringList *args)
Definition: katehighlighthelpers.cpp:845
KateHlKeyword::KateHlKeyword
KateHlKeyword(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, bool insensitive, const QString &delims)
Definition: katehighlighthelpers.cpp:273
KateHlKeyword::addList
void addList(const QStringList &)
Definition: katehighlighthelpers.cpp:290
QStringList
KateHlDetectIdentifier
Definition: katehighlighthelpers.h:320
KateHlCFloat
Definition: katehighlighthelpers.h:218
KateHlStringDetect::strLen
const int strLen
Definition: katehighlighthelpers.h:159
KateHlCStringChar
Definition: katehighlighthelpers.h:253
KateHlRegExpr::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:626
KateHlRangeDetect::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:254
KateHlItem::customStartEnable
bool customStartEnable
Definition: katehighlighthelpers.h:64
KateHlStringDetect::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:158
KateHlStringDetect::clone
virtual KateHlItem * clone(const QStringList *args)
Definition: katehighlighthelpers.cpp:183
KateHlContext::~KateHlContext
virtual ~KateHlContext()
Definition: katehighlighthelpers.cpp:863
KateHlContext::dynamicChild
bool dynamicChild
Definition: katehighlighthelpers.h:95
KateHlItem::firstNonSpace
bool firstNonSpace
Definition: katehighlighthelpers.h:57
KateHlIncludeRule::KateHlIncludeRule
KateHlIncludeRule(int ctx_=0, uint pos_=0, const QString &incCtxN_="", bool incAttrib=false)
Definition: katehighlighthelpers.h:105
KateHlItem::cachingHandled
bool cachingHandled
Definition: katehighlighthelpers.h:69
KateHlCHex
Definition: katehighlighthelpers.h:235
KateHlKeyword::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:321
KateHlCharDetect::KateHlCharDetect
KateHlCharDetect(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, QChar)
Definition: katehighlighthelpers.cpp:89
KateHlItem::region2
signed char region2
Definition: katehighlighthelpers.h:51
KateHl2CharDetect
Definition: katehighlighthelpers.h:135
KateHlCStringChar::KateHlCStringChar
KateHlCStringChar(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:701
KateHlLineContinue::lineContinue
virtual bool lineContinue()
Definition: katehighlighthelpers.h:250
KateHlDetectSpaces::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.h:312
KateHlStringDetect::KateHlStringDetect
KateHlStringDetect(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, const QString &, bool inSensitive=false)
Definition: katehighlighthelpers.cpp:150
KateHlCChar
Definition: katehighlighthelpers.h:261
KateHlRegExpr::clone
virtual KateHlItem * clone(const QStringList *args)
Definition: katehighlighthelpers.cpp:663
QSet< QChar >
KateHlItem::dynamicSubstitute
static void dynamicSubstitute(QString &str, const QStringList *args)
Definition: katehighlighthelpers.cpp:61
KateHlKeyword::~KateHlKeyword
virtual ~KateHlKeyword()
Definition: katehighlighthelpers.cpp:285
KateHlCharDetect
Definition: katehighlighthelpers.h:123
KateHlItem::dynamicChild
bool dynamicChild
Definition: katehighlighthelpers.h:56
KateHlKeyword
Definition: katehighlighthelpers.h:184
KateHlFloat::~KateHlFloat
virtual ~KateHlFloat()
Definition: katehighlighthelpers.h:213
KateHlStringDetect
Definition: katehighlighthelpers.h:149
KateHl2CharDetect::KateHl2CharDetect
KateHl2CharDetect(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, QChar ch1, QChar ch2)
Definition: katehighlighthelpers.cpp:117
KateHlCHex::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:524
KateHlAnyChar::KateHlAnyChar
KateHlAnyChar(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, const QString &charList)
Definition: katehighlighthelpers.cpp:597
KateHlRangeDetect::KateHlRangeDetect
KateHlRangeDetect(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, QChar ch1, QChar ch2)
Definition: katehighlighthelpers.cpp:247
KateHlCHex::KateHlCHex
KateHlCHex(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:518
KateHlCStringChar::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:775
KateHlCFloat::KateHlCFloat
KateHlCFloat(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:552
KateHlIncludeRule::pos
uint pos
Definition: katehighlighthelpers.h:117
KateHlContext::emptyLineContext
bool emptyLineContext
Definition: katehighlighthelpers.h:98
KateHlCharDetect::clone
virtual KateHlItem * clone(const QStringList *args)
Definition: katehighlighthelpers.cpp:103
KateHlContext::hlId
QString hlId
A unique highlight identifier. Used to look up correct properties.
Definition: katehighlighthelpers.h:83
KateHlAnyChar
Definition: katehighlighthelpers.h:269
KateHlInt
Definition: katehighlighthelpers.h:201
KateHlLineContinue::KateHlLineContinue
KateHlLineContinue(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:687
KateHlCChar::KateHlCChar
KateHlCChar(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:782
KateHlItem::alwaysStartEnable
bool alwaysStartEnable
Definition: katehighlighthelpers.h:63
KateHlCOct::KateHlCOct
KateHlCOct(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.cpp:483
KateHlFloat
Definition: katehighlighthelpers.h:209
KateHlItem::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)=0
KateHlIncludeRule
Definition: katehighlighthelpers.h:102
KateHlWordDetect::clone
virtual KateHlItem * clone(const QStringList *args)
Definition: katehighlighthelpers.cpp:229
KateHlItem::lookAhead
bool lookAhead
Definition: katehighlighthelpers.h:53
KateHlDetectSpaces
Definition: katehighlighthelpers.h:306
KateHlLineContinue::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:691
KateHlWordDetect::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:213
KateHlItem::column
int column
Definition: katehighlighthelpers.h:59
KateHlIncludeRule::incCtx
KateHlContextModification incCtx
Definition: katehighlighthelpers.h:118
KateHlDetectIdentifier::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.h:326
KateHlAnyChar::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:603
KateHlItem::attr
int attr
Definition: katehighlighthelpers.h:48
KateHlRegExpr::KateHlRegExpr
KateHlRegExpr(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2, const QString &expr, bool insensitive, bool minimal)
Definition: katehighlighthelpers.cpp:613
KateHlContext::attr
int attr
Definition: katehighlighthelpers.h:84
KateHlDetectSpaces::KateHlDetectSpaces
KateHlDetectSpaces(int attribute, KateHlContextModification context, signed char regionId, signed char regionId2)
Definition: katehighlighthelpers.h:309
KateHlFloat::checkHgl
virtual int checkHgl(const QString &text, int offset, int len)
Definition: katehighlighthelpers.cpp:393
KateHlContext::ftctx
KateHlContextModification ftctx
Definition: katehighlighthelpers.h:92
KateHlItem::dynamic
bool dynamic
Definition: katehighlighthelpers.h:55
KateHlItem::~KateHlItem
virtual ~KateHlItem()
Definition: katehighlighthelpers.cpp:57
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

KDE's Doxygen guidelines are available online.

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Applications
  •   Libraries
  •     libkonq
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal