Kate
KateLineLayout Class Reference
#include <katelinelayout.h>

Public Member Functions | |
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 |
KateLineLayout (KateDocument *doc=0L) | |
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 KateTextLine::Ptr & | 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 |
~KateLineLayout () | |
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 30 of file katelinelayout.h.
Constructor & Destructor Documentation
KateLineLayout::KateLineLayout | ( | KateDocument * | doc = 0L |
) |
Definition at line 29 of file katelinelayout.cpp.
KateLineLayout::~KateLineLayout | ( | ) |
Definition at line 42 of file katelinelayout.cpp.
Member Function Documentation
void KateLineLayout::clear | ( | ) |
Definition at line 47 of file katelinelayout.cpp.
void KateLineLayout::debugOutput | ( | ) | const |
Definition at line 206 of file katelinelayout.cpp.
KateDocument * KateLineLayout::doc | ( | ) | const |
Definition at line 114 of file katelinelayout.cpp.
bool KateLineLayout::includesCursor | ( | const KTextEditor::Cursor & | realCursor | ) | const |
Definition at line 59 of file katelinelayout.cpp.
void KateLineLayout::invalidateLayout | ( | ) |
Definition at line 143 of file katelinelayout.cpp.
bool KateLineLayout::isDirty | ( | int | viewLine | ) | const |
Definition at line 148 of file katelinelayout.cpp.
bool KateLineLayout::isLayoutDirty | ( | ) | const |
Definition at line 223 of file katelinelayout.cpp.
bool KateLineLayout::isOutsideDocument | ( | ) | const |
Definition at line 201 of file katelinelayout.cpp.
bool KateLineLayout::isRightToLeft | ( | ) | const |
Definition at line 243 of file katelinelayout.cpp.
bool KateLineLayout::isValid | ( | ) | const |
Definition at line 119 of file katelinelayout.cpp.
QTextLayout * KateLineLayout::layout | ( | ) | const |
Definition at line 124 of file katelinelayout.cpp.
int KateLineLayout::length | ( | ) | const |
Definition at line 166 of file katelinelayout.cpp.
int KateLineLayout::line | ( | ) | const |
Definition at line 74 of file katelinelayout.cpp.
bool KateLineLayout::setDirty | ( | int | viewLine, | |
bool | dirty = true | |||
) |
Definition at line 154 of file katelinelayout.cpp.
void KateLineLayout::setLayout | ( | QTextLayout * | layout | ) |
Definition at line 129 of file katelinelayout.cpp.
void KateLineLayout::setLayoutDirty | ( | bool | dirty = true |
) |
Definition at line 228 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 79 of file katelinelayout.cpp.
void KateLineLayout::setShiftX | ( | int | shiftX | ) |
Definition at line 109 of file katelinelayout.cpp.
void KateLineLayout::setUsePlainTextLine | ( | bool | plain = true |
) |
Definition at line 238 of file katelinelayout.cpp.
void KateLineLayout::setVirtualLine | ( | int | virtualLine | ) |
Definition at line 91 of file katelinelayout.cpp.
int KateLineLayout::shiftX | ( | ) | const |
Definition at line 104 of file katelinelayout.cpp.
KTextEditor::Cursor KateLineLayout::start | ( | ) | const |
Definition at line 161 of file katelinelayout.cpp.
bool KateLineLayout::startsInvisibleBlock | ( | ) | const |
Definition at line 96 of file katelinelayout.cpp.
const KateTextLine::Ptr & KateLineLayout::textLine | ( | bool | forceReload = false |
) | const |
Definition at line 64 of file katelinelayout.cpp.
bool KateLineLayout::usePlainTextLine | ( | ) | const |
Definition at line 233 of file katelinelayout.cpp.
KateTextLayout KateLineLayout::viewLine | ( | int | viewLine | ) | const |
Definition at line 176 of file katelinelayout.cpp.
int KateLineLayout::viewLineCount | ( | ) | const |
Definition at line 171 of file katelinelayout.cpp.
int KateLineLayout::viewLineForColumn | ( | int | column | ) | const |
Definition at line 211 of file katelinelayout.cpp.
int KateLineLayout::virtualLine | ( | ) | const |
Definition at line 86 of file katelinelayout.cpp.
int KateLineLayout::width | ( | ) | const |
Definition at line 185 of file katelinelayout.cpp.
int KateLineLayout::widthOfLastLine | ( | ) | const |
Definition at line 195 of file katelinelayout.cpp.
Friends And Related Function Documentation
bool operator< | ( | const KateLineLayout & | r, | |
const KTextEditor::Cursor & | c | |||
) | [friend] |
bool operator<= | ( | const KateLineLayout & | r, | |
const KTextEditor::Cursor & | c | |||
) | [friend] |
bool operator> | ( | const KateLineLayout & | r, | |
const KTextEditor::Cursor & | c | |||
) | [friend] |
bool operator>= | ( | const KateLineLayout & | r, | |
const KTextEditor::Cursor & | c | |||
) | [friend] |
The documentation for this class was generated from the following files: