Kate
KateSmartCursor Class Reference
#include <katesmartcursor.h>

Detailed Description
Possible additional features:- Notification when a cursor enters or exits a view
- suggest something :).
Unresolved issues:
- testing, testing, testing
- api niceness Internal implementation of KTextEditor::SmartCursor
Definition at line 48 of file katesmartcursor.h.
Constructor & Destructor Documentation
KateSmartCursor::KateSmartCursor | ( | const KTextEditor::Cursor & | position, | |
KTextEditor::Document * | doc, | |||
KTextEditor::SmartCursor::InsertBehavior | insertBehavior = KTextEditor::SmartCursor::MoveOnInsert | |||
) |
Definition at line 30 of file katesmartcursor.cpp.
KateSmartCursor::KateSmartCursor | ( | KTextEditor::Document * | doc, | |
KTextEditor::SmartCursor::InsertBehavior | insertBehavior = KTextEditor::SmartCursor::MoveOnInsert | |||
) | [explicit] |
Definition at line 57 of file katesmartcursor.cpp.
KateSmartCursor::~KateSmartCursor | ( | ) | [virtual] |
Definition at line 77 of file katesmartcursor.cpp.
Member Function Documentation
bool KateSmartCursor::atEndOfLine | ( | ) | const [virtual] |
void KateSmartCursor::checkFeedback | ( | ) | [protected, virtual] |
Definition at line 116 of file katesmartcursor.cpp.
bool KateSmartCursor::cursorMoved | ( | ) | const |
This is a function solely for use by KateSuperRange.
Used to see if a change in position has occurred since it was last called.
Definition at line 274 of file katesmartcursor.cpp.
void KateSmartCursor::deleteNotifier | ( | ) | [virtual] |
bool KateSmartCursor::feedbackEnabled | ( | ) | const [inline] |
Definition at line 86 of file katesmartcursor.h.
bool KateSmartCursor::hasNotifier | ( | ) | const [virtual] |
bool KateSmartCursor::isInternal | ( | ) | const [inline] |
Definition at line 60 of file katesmartcursor.h.
Definition at line 106 of file katesmartcursor.cpp.
bool KateSmartCursor::isValid | ( | ) | const [virtual] |
KateDocument * KateSmartCursor::kateDocument | ( | ) | const |
Definition at line 96 of file katesmartcursor.cpp.
const KTextEditor::Cursor& KateSmartCursor::lastPosition | ( | ) | const [inline] |
Definition at line 110 of file katesmartcursor.h.
int KateSmartCursor::line | ( | ) | const [virtual] |
void KateSmartCursor::migrate | ( | KateSmartGroup * | newGroup | ) |
Definition at line 362 of file katesmartcursor.cpp.
KTextEditor::SmartCursorNotifier * KateSmartCursor::notifier | ( | ) | [virtual] |
KateSmartCursor::operator QString | ( | ) |
KateSmartCursor& KateSmartCursor::operator= | ( | const KTextEditor::Cursor & | rhs | ) | [inline] |
void KateSmartCursor::resetLastPosition | ( | ) |
Definition at line 380 of file katesmartcursor.cpp.
void KateSmartCursor::setInternal | ( | ) |
Definition at line 400 of file katesmartcursor.cpp.
void KateSmartCursor::setLine | ( | int | line | ) | [virtual] |
void KateSmartCursor::setLineInternal | ( | int | newLine, | |
bool | internal = true | |||
) | [protected] |
Definition at line 281 of file katesmartcursor.cpp.
void KateSmartCursor::setPosition | ( | const KTextEditor::Cursor & | pos | ) | [virtual] |
void KateSmartCursor::setPositionInternal | ( | const KTextEditor::Cursor & | pos, | |
bool | internal = true | |||
) | [protected] |
Definition at line 138 of file katesmartcursor.cpp.
void KateSmartCursor::setWatcher | ( | KTextEditor::SmartCursorWatcher * | watcher = 0L |
) | [virtual] |
void KateSmartCursor::shifted | ( | ) |
Definition at line 348 of file katesmartcursor.cpp.
KateSmartGroup* KateSmartCursor::smartGroup | ( | ) | const [inline] |
Definition at line 88 of file katesmartcursor.h.
bool KateSmartCursor::translate | ( | const KateEditInfo & | edit | ) |
Definition at line 202 of file katesmartcursor.cpp.
void KateSmartCursor::translated | ( | const KateEditInfo & | edit | ) |
If the cursor is requesting feedback, this is called whenever the cursor's position moves and it's not needing to be adjusted via translateCursor().
Definition at line 286 of file katesmartcursor.cpp.
void KateSmartCursor::unbindFromRange | ( | ) |
Definition at line 395 of file katesmartcursor.cpp.
KTextEditor::SmartCursorWatcher * KateSmartCursor::watcher | ( | ) | const [virtual] |
The documentation for this class was generated from the following files: