Kate
#include <katelinelayout.h>
Public Member Functions | |
KateLineLayout (KateRenderer &renderer) | |
~KateLineLayout () | |
void | clear () |
void | debugOutput () const |
KateDocument * | doc () const |
bool | includesCursor (const KTextEditor::Cursor &realCursor) const |
void | invalidateLayout () |
bool | isDirty (int viewLine) const |
bool | isLayoutDirty () const |
bool | isOutsideDocument () const |
bool | isRightToLeft () const |
bool | isValid () const |
QTextLayout * | layout () const |
int | length () const |
int | line () const |
bool | setDirty (int viewLine, bool dirty=true) |
void | setLayout (QTextLayout *layout) |
void | setLayoutDirty (bool dirty=true) |
void | setLine (int line, int virtualLine=-1) |
void | setShiftX (int shiftX) |
void | setUsePlainTextLine (bool plain=true) |
void | setVirtualLine (int virtualLine) |
int | shiftX () const |
KTextEditor::Cursor | start () const |
bool | startsInvisibleBlock () const |
const Kate::TextLine & | textLine (bool forceReload=false) const |
bool | usePlainTextLine () const |
KateTextLayout | viewLine (int viewLine) const |
int | viewLineCount () const |
int | viewLineForColumn (int column) const |
int | virtualLine () const |
int | width () const |
int | widthOfLastLine () const |
Friends | |
bool | operator< (const KateLineLayout &r, const KTextEditor::Cursor &c) |
bool | operator<= (const KateLineLayout &r, const KTextEditor::Cursor &c) |
bool | operator> (const KateLineLayout &r, const KTextEditor::Cursor &c) |
bool | operator>= (const KateLineLayout &r, const KTextEditor::Cursor &c) |
Detailed Description
Definition at line 34 of file katelinelayout.h.
Constructor & Destructor Documentation
KateLineLayout::KateLineLayout | ( | KateRenderer & | renderer | ) |
Definition at line 31 of file katelinelayout.cpp.
KateLineLayout::~KateLineLayout | ( | ) |
Definition at line 43 of file katelinelayout.cpp.
Member Function Documentation
void KateLineLayout::clear | ( | ) |
Definition at line 48 of file katelinelayout.cpp.
void KateLineLayout::debugOutput | ( | ) | const |
Definition at line 207 of file katelinelayout.cpp.
KateDocument * KateLineLayout::doc | ( | ) | const |
Definition at line 115 of file katelinelayout.cpp.
bool KateLineLayout::includesCursor | ( | const KTextEditor::Cursor & | realCursor | ) | const |
Definition at line 60 of file katelinelayout.cpp.
void KateLineLayout::invalidateLayout | ( | ) |
Definition at line 144 of file katelinelayout.cpp.
bool KateLineLayout::isDirty | ( | int | viewLine | ) | const |
Definition at line 149 of file katelinelayout.cpp.
bool KateLineLayout::isLayoutDirty | ( | ) | const |
Definition at line 224 of file katelinelayout.cpp.
bool KateLineLayout::isOutsideDocument | ( | ) | const |
Definition at line 202 of file katelinelayout.cpp.
bool KateLineLayout::isRightToLeft | ( | ) | const |
Definition at line 244 of file katelinelayout.cpp.
bool KateLineLayout::isValid | ( | ) | const |
Definition at line 120 of file katelinelayout.cpp.
QTextLayout * KateLineLayout::layout | ( | ) | const |
Definition at line 125 of file katelinelayout.cpp.
int KateLineLayout::length | ( | ) | const |
Definition at line 167 of file katelinelayout.cpp.
int KateLineLayout::line | ( | ) | const |
Definition at line 75 of file katelinelayout.cpp.
bool KateLineLayout::setDirty | ( | int | viewLine, |
bool | dirty = true |
||
) |
Definition at line 155 of file katelinelayout.cpp.
void KateLineLayout::setLayout | ( | QTextLayout * | layout | ) |
Definition at line 130 of file katelinelayout.cpp.
void KateLineLayout::setLayoutDirty | ( | bool | dirty = true | ) |
Definition at line 229 of file katelinelayout.cpp.
void KateLineLayout::setLine | ( | int | line, |
int | virtualLine = -1 |
||
) |
Only pass virtualLine if you know it (and thus we shouldn't try to look it up)
Definition at line 80 of file katelinelayout.cpp.
void KateLineLayout::setShiftX | ( | int | shiftX | ) |
Definition at line 110 of file katelinelayout.cpp.
void KateLineLayout::setUsePlainTextLine | ( | bool | plain = true | ) |
Definition at line 239 of file katelinelayout.cpp.
void KateLineLayout::setVirtualLine | ( | int | virtualLine | ) |
Definition at line 92 of file katelinelayout.cpp.
int KateLineLayout::shiftX | ( | ) | const |
Definition at line 105 of file katelinelayout.cpp.
KTextEditor::Cursor KateLineLayout::start | ( | ) | const |
Definition at line 162 of file katelinelayout.cpp.
bool KateLineLayout::startsInvisibleBlock | ( | ) | const |
Definition at line 97 of file katelinelayout.cpp.
const Kate::TextLine & KateLineLayout::textLine | ( | bool | forceReload = false | ) | const |
Definition at line 65 of file katelinelayout.cpp.
bool KateLineLayout::usePlainTextLine | ( | ) | const |
Definition at line 234 of file katelinelayout.cpp.
KateTextLayout KateLineLayout::viewLine | ( | int | viewLine | ) | const |
Definition at line 177 of file katelinelayout.cpp.
int KateLineLayout::viewLineCount | ( | ) | const |
Definition at line 172 of file katelinelayout.cpp.
int KateLineLayout::viewLineForColumn | ( | int | column | ) | const |
Definition at line 212 of file katelinelayout.cpp.
int KateLineLayout::virtualLine | ( | ) | const |
Definition at line 87 of file katelinelayout.cpp.
int KateLineLayout::width | ( | ) | const |
Definition at line 186 of file katelinelayout.cpp.
int KateLineLayout::widthOfLastLine | ( | ) | const |
Definition at line 196 of file katelinelayout.cpp.
Friends And Related Function Documentation
|
friend |
|
friend |
|
friend |
|
friend |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:57:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.