Kate
KateSmartGroup Class Reference
This class holds a ground of cursors and ranges which involve a certain number of lines in a document. More...
#include <katesmartmanager.h>
Detailed Description
This class holds a ground of cursors and ranges which involve a certain number of lines in a document.
It allows us to optimise away having to iterate though every single cursor and range when anything changes in the document.
Needs a comprehensive regression and performance test suite...
Definition at line 116 of file katesmartmanager.h.
Constructor & Destructor Documentation
KateSmartGroup::KateSmartGroup | ( | int | startLine, | |
int | endLine, | |||
KateSmartGroup * | previous, | |||
KateSmartGroup * | next | |||
) |
Definition at line 517 of file katesmartmanager.cpp.
Member Function Documentation
void KateSmartGroup::addCursor | ( | KateSmartCursor * | cursor | ) |
Definition at line 237 of file katesmartmanager.cpp.
void KateSmartGroup::changeCursorFeedback | ( | KateSmartCursor * | cursor | ) |
Definition at line 248 of file katesmartmanager.cpp.
bool KateSmartGroup::containsLine | ( | int | line | ) | const [inline] |
Definition at line 128 of file katesmartmanager.h.
void KateSmartGroup::debugOutput | ( | ) | const |
Definition at line 580 of file katesmartmanager.cpp.
void KateSmartGroup::deleteCursors | ( | bool | includingInternal | ) |
Definition at line 646 of file katesmartmanager.cpp.
void KateSmartGroup::deleteCursorsInternal | ( | QSet< KateSmartCursor * > & | set | ) |
Definition at line 661 of file katesmartmanager.cpp.
int KateSmartGroup::endLine | ( | ) | const [inline] |
Definition at line 123 of file katesmartmanager.h.
const QSet< KateSmartCursor * > & KateSmartGroup::feedbackCursors | ( | ) | const |
Definition at line 552 of file katesmartmanager.cpp.
void KateSmartGroup::joined | ( | KateSmartCursor * | cursor | ) |
A cursor has joined this group.
The cursor already has its new position.
Definition at line 278 of file katesmartmanager.cpp.
void KateSmartGroup::leaving | ( | KateSmartCursor * | cursor | ) |
A cursor is leaving this group.
The cursor still has its old position.
Definition at line 283 of file katesmartmanager.cpp.
int KateSmartGroup::length | ( | ) | const [inline] |
Definition at line 127 of file katesmartmanager.h.
void KateSmartGroup::merge | ( | ) |
Definition at line 532 of file katesmartmanager.cpp.
int KateSmartGroup::newEndLine | ( | ) | const [inline] |
Definition at line 124 of file katesmartmanager.h.
int KateSmartGroup::newStartLine | ( | ) | const [inline] |
Definition at line 122 of file katesmartmanager.h.
KateSmartGroup* KateSmartGroup::next | ( | ) | const [inline] |
Definition at line 133 of file katesmartmanager.h.
const QSet< KateSmartCursor * > & KateSmartGroup::normalCursors | ( | ) | const |
Definition at line 557 of file katesmartmanager.cpp.
KateSmartGroup* KateSmartGroup::previous | ( | ) | const [inline] |
Definition at line 130 of file katesmartmanager.h.
void KateSmartGroup::removeCursor | ( | KateSmartCursor * | cursor | ) |
Definition at line 264 of file katesmartmanager.cpp.
void KateSmartGroup::setEndLine | ( | int | endLine | ) | [inline] |
Definition at line 125 of file katesmartmanager.h.
void KateSmartGroup::setNewEndLine | ( | int | endLine | ) | [inline] |
Definition at line 126 of file katesmartmanager.h.
void KateSmartGroup::setNext | ( | KateSmartGroup * | next | ) | [inline] |
Definition at line 134 of file katesmartmanager.h.
void KateSmartGroup::setPrevious | ( | KateSmartGroup * | previous | ) | [inline] |
Definition at line 131 of file katesmartmanager.h.
int KateSmartGroup::startLine | ( | ) | const [inline] |
Definition at line 121 of file katesmartmanager.h.
void KateSmartGroup::translateChanged | ( | const KateEditInfo & | edit | ) |
Definition at line 456 of file katesmartmanager.cpp.
void KateSmartGroup::translatedChanged | ( | const KateEditInfo & | edit | ) |
Definition at line 474 of file katesmartmanager.cpp.
void KateSmartGroup::translatedChanged2 | ( | const KateEditInfo & | edit | ) |
Definition at line 483 of file katesmartmanager.cpp.
void KateSmartGroup::translatedShifted | ( | const KateEditInfo & | edit | ) |
Definition at line 502 of file katesmartmanager.cpp.
void KateSmartGroup::translateShifted | ( | const KateEditInfo & | edit | ) |
Definition at line 467 of file katesmartmanager.cpp.
The documentation for this class was generated from the following files: