#include <katecursor.h>

Public Member Functions | |
KateTextCursor (int line, int col) | |
void | pos (int *pline, int *pcol) const |
int | line () const |
int | col () const |
virtual void | setLine (int line) |
virtual void | setCol (int col) |
virtual void | setPos (const KateTextCursor &pos) |
virtual void | setPos (int line, int col) |
Protected Attributes | |
int | m_line |
int | m_col |
Friends | |
bool | operator== (const KateTextCursor &c1, const KateTextCursor &c2) |
bool | operator!= (const KateTextCursor &c1, const KateTextCursor &c2) |
bool | operator> (const KateTextCursor &c1, const KateTextCursor &c2) |
bool | operator>= (const KateTextCursor &c1, const KateTextCursor &c2) |
bool | operator< (const KateTextCursor &c1, const KateTextCursor &c2) |
bool | operator<= (const KateTextCursor &c1, const KateTextCursor &c2) |
kdbgstream & | operator<< (kdbgstream &stream, const KateTextCursor &c) |
void | tqSwap (KateTextCursor &c1, KateTextCursor &c2) |
Detailed Description
Simple cursor class with no document pointer.
Definition at line 33 of file katecursor.h.
Constructor & Destructor Documentation
◆ KateTextCursor() [1/2]
|
inline |
Definition at line 36 of file katecursor.h.
◆ KateTextCursor() [2/2]
|
inline |
Definition at line 37 of file katecursor.h.
◆ ~KateTextCursor()
|
inlinevirtual |
Definition at line 38 of file katecursor.h.
Member Function Documentation
◆ col()
|
inline |
Definition at line 77 of file katecursor.h.
◆ line()
|
inline |
Definition at line 76 of file katecursor.h.
◆ pos()
|
inline |
Definition at line 71 of file katecursor.h.
◆ setCol()
|
inlinevirtual |
Definition at line 80 of file katecursor.h.
◆ setLine()
|
inlinevirtual |
Definition at line 79 of file katecursor.h.
◆ setPos() [1/2]
|
inlinevirtual |
Definition at line 81 of file katecursor.h.
◆ setPos() [2/2]
|
inlinevirtual |
Definition at line 82 of file katecursor.h.
Friends And Related Function Documentation
◆ operator!=
|
friend |
Definition at line 43 of file katecursor.h.
◆ operator<
|
friend |
Definition at line 52 of file katecursor.h.
◆ operator<<
|
friend |
Definition at line 58 of file katecursor.h.
◆ operator<=
|
friend |
Definition at line 55 of file katecursor.h.
◆ operator==
|
friend |
Definition at line 40 of file katecursor.h.
◆ operator>
|
friend |
Definition at line 46 of file katecursor.h.
◆ operator>=
|
friend |
Definition at line 49 of file katecursor.h.
◆ tqSwap
|
friend |
Definition at line 64 of file katecursor.h.
Member Data Documentation
◆ m_col
|
protected |
Definition at line 86 of file katecursor.h.
◆ m_line
|
protected |
Definition at line 85 of file katecursor.h.
The documentation for this class was generated from the following file: