Kate
katetextlayout.cpp
Go to the documentation of this file.
52 return realCursor.line() == line() && realCursor.column() >= startCol() && (!wrap() || realCursor.column() < endCol());
65 kDebug( 13033 ) << "KateTextLayout: " << m_lineLayout << " valid " << isValid() << " line " << m_lineLayout->line() << " (" << line() << ") cols [" << startCol() << " -> " << endCol() << "] x [" << startX() << " -> " << endX() << " off " << m_lineLayout->shiftX() << "] wrap " << wrap();
90 return m_lineLayout && m_lineLayout->isValid() && m_viewLine >= 0 && m_viewLine < m_lineLayout->viewLineCount();
bool operator<(const KateTextLayout &r, const KTextEditor::Cursor &c)
Definition: katetextlayout.cpp:78
bool operator>=(const KateTextLayout &r, const KTextEditor::Cursor &c)
Definition: katetextlayout.cpp:73
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
int endCol(bool indicateEOL=false) const
Return the end column of this text line.
Definition: katetextlayout.cpp:140
int viewLine() const
Return the index of this visual line inside the document line (KateLineLayout).
Definition: katetextlayout.cpp:109
KateLineLayoutPtr kateLineLayout() const
Definition: katetextlayout.cpp:122
bool operator<=(const KateTextLayout &r, const KTextEditor::Cursor &c)
Definition: katetextlayout.cpp:83
virtual int line() const
bool includesCursor(const KTextEditor::Cursor &realCursor) const
Definition: katetextlayout.cpp:50
This class represents one visible line of text; with dynamic wrapping, many KateTextLayouts can be ne...
Definition: katetextlayout.h:38
bool operator>(const KateTextLayout &r, const KTextEditor::Cursor &c)
Definition: katetextlayout.cpp:68
KTextEditor::Cursor end(bool indicateEOL=false) const
Return the end position of this text line.
Definition: katetextlayout.cpp:152
int column() const
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.