Kate
katelinelayout.cpp
Go to the documentation of this file.
68 m_textLine = usePlainTextLine() ? m_renderer.doc()->plainKateTextLine (line()) : m_renderer.doc()->kateTextLine(line());
83 m_virtualLine = (virtualLine == -1) ? m_renderer.folding().lineToVisibleLine (line) : virtualLine;
209 kDebug( 13033 ) << "KateLineLayout: " << this << " valid " << isValid() << " line " << line() << " length " << length() << " width " << width() << " viewLineCount " << viewLineCount();
void setUsePlainTextLine(bool plain=true)
Definition: katelinelayout.cpp:239
KateTextLayout viewLine(int viewLine) const
Definition: katelinelayout.cpp:177
bool setDirty(int viewLine, bool dirty=true)
Definition: katelinelayout.cpp:155
KateLineLayout(KateRenderer &renderer)
Definition: katelinelayout.cpp:31
const Kate::TextLine & textLine(bool forceReload=false) const
Definition: katelinelayout.cpp:65
void setLine(int line, int virtualLine=-1)
Only pass virtualLine if you know it (and thus we shouldn't try to look it up)
Definition: katelinelayout.cpp:80
void setLayoutDirty(bool dirty=true)
Definition: katelinelayout.cpp:229
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
Kate::TextLine plainKateTextLine(uint i)
Definition: katedocument.cpp:4713
bool includesCursor(const KTextEditor::Cursor &realCursor) const
Definition: katelinelayout.cpp:60
Handles all of the work of rendering the text (used for the views and printing)
Definition: katerenderer.h:50
int lineToVisibleLine(int line) const
Convert a text buffer line to a visible line number.
Definition: katetextfolding.cpp:366
Kate::TextFolding & folding() const
Returns the folding info to which this renderer is bound.
Definition: katerenderer.h:98
Definition: katedocument.h:74
int viewLineForColumn(int column) const
Definition: katelinelayout.cpp:212
virtual int line() const
This class represents one visible line of text; with dynamic wrapping, many KateTextLayouts can be ne...
Definition: katetextlayout.h:38
QSharedPointer< TextLineData > TextLine
The normal world only accesses the text lines with shared pointers.
Definition: katetextline.h:443
KateDocument * doc() const
Returns the document to which this renderer is bound.
Definition: katerenderer.h:92
bool startsInvisibleBlock() const
Definition: katelinelayout.cpp:97
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.