Kate
katetextline.h
Go to the documentation of this file.
95 flagHlContinue = 1,
96 flagAutoWrapped = 2,
97 flagFoldingStartAttribute = 4,
98 flagFoldingStartIndentation = 8,
99 flagLineModified = 16,
100 flagLineSavedOnDisk = 32
380 if (pos >= m_attributesList[i].offset && pos < (m_attributesList[i].offset + m_attributesList[i].length))
short attribute(int pos) const
Gets the attribute at the given position use KRenderer::attributes to get the KTextAttribute for this...
Definition: katetextline.h:376
bool isAutoWrapped() const
Returns true, if the line was automagically wrapped, otherwise returns false.
Definition: katetextline.h:280
Attribute(int _offset=0, int _length=0, short _attributeValue=0, short _foldingValue=0)
Attribute constructor.
Definition: katetextline.h:61
void markAsFoldingStartIndentation()
Mark as folding start line of an indentation based folding.
Definition: katetextline.h:257
QChar at(int column) const
Returns the character at the given column.
Definition: katetextline.h:159
const QVector< Attribute > & attributesList() const
Accessor to attributes.
Definition: katetextline.h:367
void markAsFoldingStartAttribute()
Mark as folding start line of an attribute based folding.
Definition: katetextline.h:248
void setContextStack(const ContextStack &val)
Sets the syntax highlight context number.
Definition: katetextline.h:350
bool startsWith(const QString &match) const
Returns true, if the line starts with match, otherwise returns false.
Definition: katetextline.h:333
bool hlLineContinue() const
Returns true, if the line's hl-continue flag is set, otherwise returns false.
Definition: katetextline.h:273
bool markedAsFoldingStartAttribute() const
Is on this line a folding start per attribute?
Definition: katetextline.h:231
bool endsWith(const QString &match) const
Returns true, if the line ends with match, otherwise returns false.
Definition: katetextline.h:338
bool markedAsFoldingStartIndentation() const
Is on this line a folding start per indentation?
Definition: katetextline.h:240
bool markedAsSavedOnDisk() const
Definition: katetextline.h:205
QSharedPointer< TextLineData > TextLine
The normal world only accesses the text lines with shared pointers.
Definition: katetextline.h:443
const QString & string() const
Returns the complete text line (as a QString reference).
Definition: katetextline.h:286
const QString & text() const
Accessor to the text contained in this line.
Definition: katetextline.h:123
void markAsSavedOnDisk(bool savedOnDisk)
Definition: katetextline.h:195
QString string(int column, int length) const
Returns the substring with length beginning at the given column.
Definition: katetextline.h:294
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:53 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:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.