Kate
KateSmartRange Class Reference
#include <katesmartrange.h>

Detailed Description
Internal implementation of KTextEditor::SmartRange.Represents a range of text, from the start() to the end().
Also tracks its position and emits useful signals.
Definition at line 63 of file katesmartrange.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
KateSmartRange::KateSmartRange | ( | const KTextEditor::Range & | range, | |
KateDocument * | doc, | |||
KTextEditor::SmartRange * | parent = 0L , |
|||
KTextEditor::SmartRange::InsertBehaviors | insertBehavior = DoNotExpand | |||
) |
KateSmartRange::KateSmartRange | ( | KateDocument * | doc, | |
KTextEditor::SmartRange * | parent = 0L | |||
) | [explicit] |
KateSmartRange::KateSmartRange | ( | KateSmartCursor * | start, | |
KateSmartCursor * | end, | |||
KTextEditor::SmartRange * | parent = 0L , |
|||
KTextEditor::SmartRange::InsertBehaviors | insertBehavior = DoNotExpand | |||
) |
Definition at line 49 of file katesmartrange.cpp.
KateSmartRange::~KateSmartRange | ( | ) | [virtual] |
Definition at line 59 of file katesmartrange.cpp.
Member Function Documentation
void KateSmartRange::addDynamic | ( | KateDynamicAnimation * | anim | ) |
Definition at line 240 of file katesmartrange.cpp.
void KateSmartRange::checkFeedback | ( | ) | [protected, virtual] |
KTextEditor::SmartRangeNotifier * KateSmartRange::createNotifier | ( | ) | [protected, virtual] |
void KateSmartRange::deregisterPointer | ( | KateSmartRangePtr * | ptr | ) |
Definition at line 260 of file katesmartrange.cpp.
const QList< KateDynamicAnimation * > & KateSmartRange::dynamicAnimations | ( | ) | const |
Definition at line 250 of file katesmartrange.cpp.
bool KateSmartRange::feedbackEnabled | ( | ) | const [inline] |
Implementation detail.
Defines the level of feedback required for any connected watcher / notifier.
enum FeedbackLevel { / Don't provide any feedback. NoFeedback, / Only provide feedback when the range in question is the most specific, wholly encompassing range to have been changed. MostSpecificContentChanged, / Provide feedback whenever the contents of a range change. ContentChanged, / Provide feedback whenever the position of a range changes. PositionChanged }; Q_DECLARE_FLAGS(FeedbackLevels, FeedbackLevel);
Definition at line 129 of file katesmartrange.h.
void KateSmartRange::feedbackMostSpecific | ( | KateSmartRange * | mostSpecific | ) |
Definition at line 156 of file katesmartrange.cpp.
void KateSmartRange::feedbackMouseCaretChange | ( | KTextEditor::View * | view, | |
bool | mouse, | |||
bool | entered | |||
) |
bool KateSmartRange::hasDynamic | ( | ) | [inline] |
Definition at line 108 of file katesmartrange.h.
bool KateSmartRange::isCaretOver | ( | ) | [inline] |
Definition at line 95 of file katesmartrange.h.
bool KateSmartRange::isInternal | ( | ) | const [inline] |
Definition at line 85 of file katesmartrange.h.
bool KateSmartRange::isMouseOver | ( | ) | [inline] |
Is the mouse over this range? Mouseover must be explicitly set by setMouseOver().
Definition at line 90 of file katesmartrange.h.
KateDocument * KateSmartRange::kateDocument | ( | ) | const |
Accessor for the document this range belongs to (set in constructor).
Definition at line 76 of file katesmartrange.cpp.
KateSmartCursor& KateSmartRange::kEnd | ( | ) | [inline] |
Accessor for the end of the range (set in constructor).
Definition at line 83 of file katesmartrange.h.
KateSmartCursor& KateSmartRange::kStart | ( | ) | [inline] |
Accessor for the start of the range (set in constructor).
Definition at line 81 of file katesmartrange.h.
KateSmartRange& KateSmartRange::operator= | ( | const KTextEditor::Range & | r | ) | [inline] |
void KateSmartRange::registerPointer | ( | KateSmartRangePtr * | ptr | ) |
Definition at line 255 of file katesmartrange.cpp.
void KateSmartRange::removeDynamic | ( | KateDynamicAnimation * | anim | ) |
Definition at line 245 of file katesmartrange.cpp.
void KateSmartRange::setCaretOver | ( | bool | caretOver | ) | [inline] |
Definition at line 96 of file katesmartrange.h.
void KateSmartRange::setInternal | ( | ) |
Definition at line 224 of file katesmartrange.cpp.
void KateSmartRange::setMouseOver | ( | bool | mouseOver | ) | [inline] |
Tell this range whether the mouse is somewhere over it.
- Parameters:
-
mouseOver whether the mouse is over the range or not.
Definition at line 93 of file katesmartrange.h.
void KateSmartRange::setParentRange | ( | SmartRange * | r | ) | [virtual] |
Definition at line 197 of file katesmartrange.cpp.
void KateSmartRange::shifted | ( | ) |
void KateSmartRange::translated | ( | const KateEditInfo & | edit | ) |
void KateSmartRange::unbindAndDelete | ( | ) |
Definition at line 214 of file katesmartrange.cpp.
The documentation for this class was generated from the following files: