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 520 of file katesmartmanager.cpp.
Member Function Documentation
| void KateSmartGroup::addCursor | ( | KateSmartCursor * | cursor | ) |
Definition at line 240 of file katesmartmanager.cpp.
| void KateSmartGroup::changeCursorFeedback | ( | KateSmartCursor * | cursor | ) |
Definition at line 251 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 583 of file katesmartmanager.cpp.
| void KateSmartGroup::deleteCursors | ( | bool | includingInternal | ) |
Definition at line 649 of file katesmartmanager.cpp.
| void KateSmartGroup::deleteCursorsInternal | ( | QSet< KateSmartCursor * > & | set | ) |
Definition at line 664 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 555 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 281 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 286 of file katesmartmanager.cpp.
| int KateSmartGroup::length | ( | ) | const [inline] |
Definition at line 127 of file katesmartmanager.h.
| void KateSmartGroup::merge | ( | ) |
Definition at line 535 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 560 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 267 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 459 of file katesmartmanager.cpp.
| void KateSmartGroup::translatedChanged | ( | const KateEditInfo & | edit | ) |
Definition at line 477 of file katesmartmanager.cpp.
| void KateSmartGroup::translatedChanged2 | ( | const KateEditInfo & | edit | ) |
Definition at line 486 of file katesmartmanager.cpp.
| void KateSmartGroup::translatedShifted | ( | const KateEditInfo & | edit | ) |
Definition at line 505 of file katesmartmanager.cpp.
| void KateSmartGroup::translateShifted | ( | const KateEditInfo & | edit | ) |
Definition at line 470 of file katesmartmanager.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference