Kate
KateSmartCursor Class Reference
Possible additional features:
- Notification when a cursor enters or exits a view
- suggest something :).
#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 47 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 31 of file katesmartcursor.cpp.
| KateSmartCursor::KateSmartCursor | ( | KTextEditor::Document * | doc, | |
| KTextEditor::SmartCursor::InsertBehavior | insertBehavior = KTextEditor::SmartCursor::MoveOnInsert | |||
| ) | [explicit] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 58 of file katesmartcursor.cpp.
| KateSmartCursor::~KateSmartCursor | ( | ) | [virtual] |
Definition at line 78 of file katesmartcursor.cpp.
Member Function Documentation
| bool KateSmartCursor::atEndOfLine | ( | ) | const [virtual] |
Reimplemented from KTextEditor::SmartCursor.
Definition at line 112 of file katesmartcursor.cpp.
| void KateSmartCursor::checkFeedback | ( | ) | [protected, virtual] |
Definition at line 117 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 312 of file katesmartcursor.cpp.
| void KateSmartCursor::deleteNotifier | ( | ) | [virtual] |
Implements KTextEditor::SmartCursor.
Definition at line 225 of file katesmartcursor.cpp.
| bool KateSmartCursor::feedbackEnabled | ( | ) | const [inline] |
Definition at line 85 of file katesmartcursor.h.
| bool KateSmartCursor::hasNotifier | ( | ) | const [virtual] |
Implements KTextEditor::SmartCursor.
Definition at line 423 of file katesmartcursor.cpp.
| bool KateSmartCursor::isInternal | ( | ) | const [inline] |
Definition at line 59 of file katesmartcursor.h.
Definition at line 107 of file katesmartcursor.cpp.
| bool KateSmartCursor::isValid | ( | ) | const [virtual] |
Reimplemented from KTextEditor::SmartCursor.
Definition at line 102 of file katesmartcursor.cpp.
| KateDocument * KateSmartCursor::kateDocument | ( | ) | const |
Definition at line 97 of file katesmartcursor.cpp.
| const KTextEditor::Cursor& KateSmartCursor::lastPosition | ( | ) | const [inline] |
Definition at line 109 of file katesmartcursor.h.
| int KateSmartCursor::line | ( | ) | const [virtual] |
Reimplemented from KTextEditor::Cursor.
Definition at line 129 of file katesmartcursor.cpp.
| void KateSmartCursor::migrate | ( | KateSmartGroup * | newGroup | ) |
Definition at line 400 of file katesmartcursor.cpp.
| KTextEditor::SmartCursorNotifier * KateSmartCursor::notifier | ( | ) | [virtual] |
Implements KTextEditor::SmartCursor.
Definition at line 216 of file katesmartcursor.cpp.
| KateSmartCursor::operator QString | ( | ) |
Debug: output the position.
Definition at line 92 of file katesmartcursor.cpp.
| KateSmartCursor& KateSmartCursor::operator= | ( | const KTextEditor::Cursor & | rhs | ) | [inline] |
Definition at line 68 of file katesmartcursor.h.
| void KateSmartCursor::resetLastPosition | ( | ) |
Definition at line 418 of file katesmartcursor.cpp.
| void KateSmartCursor::setInternal | ( | ) |
Definition at line 438 of file katesmartcursor.cpp.
| void KateSmartCursor::setLine | ( | int | line | ) | [virtual] |
Reimplemented from KTextEditor::Cursor.
Definition at line 134 of file katesmartcursor.cpp.
| void KateSmartCursor::setLineInternal | ( | int | newLine, | |
| bool | internal = true | |||
| ) | [protected] |
Definition at line 319 of file katesmartcursor.cpp.
| void KateSmartCursor::setPosition | ( | const KTextEditor::Cursor & | pos | ) | [virtual] |
Definition at line 407 of file katesmartcursor.cpp.
| void KateSmartCursor::setPositionInternal | ( | const KTextEditor::Cursor & | pos, | |
| bool | internal = true | |||
| ) | [protected] |
Definition at line 139 of file katesmartcursor.cpp.
| void KateSmartCursor::setWatcher | ( | KTextEditor::SmartCursorWatcher * | watcher = 0L |
) | [virtual] |
Implements KTextEditor::SmartCursor.
Definition at line 232 of file katesmartcursor.cpp.
| void KateSmartCursor::shifted | ( | ) |
Definition at line 386 of file katesmartcursor.cpp.
| KateSmartGroup* KateSmartCursor::smartGroup | ( | ) | const [inline] |
Definition at line 87 of file katesmartcursor.h.
| bool KateSmartCursor::translate | ( | const KateEditInfo & | edit | ) |
Definition at line 238 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 324 of file katesmartcursor.cpp.
| void KateSmartCursor::unbindFromRange | ( | ) |
Definition at line 433 of file katesmartcursor.cpp.
| KTextEditor::SmartCursorWatcher * KateSmartCursor::watcher | ( | ) | const [virtual] |
Implements KTextEditor::SmartCursor.
Definition at line 428 of file katesmartcursor.cpp.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference