Kate
documentcursor.h
Go to the documentation of this file.
79 Wrap = 0x0,
80 NoWrap = 0x1
312 { return c1.document() == c2.document() && c1.line() == c2.line() && c1.column() == c2.column(); }
371 s.nospace() << "(" << cursor->document() << ": " << cursor->line() << ", " << cursor->column() << ")";
friend bool operator>=(const DocumentCursor &c1, const DocumentCursor &c2)
Greater than or equal to operator.
Definition: documentcursor.h:340
friend bool operator!=(const DocumentCursor &c1, const DocumentCursor &c2)
Inequality operator.
Definition: documentcursor.h:320
bool isValidTextPosition() const
Check whether the current position of this cursor is a valid text position.
Definition: documentcursor.h:176
A Cursor which is bound to a specific Document.
Definition: documentcursor.h:69
QDebug & nospace()
friend bool operator<=(const DocumentCursor &c1, const DocumentCursor &c2)
Less than or equal to operator.
Definition: documentcursor.h:360
friend bool operator==(const DocumentCursor &c1, const DocumentCursor &c2)
Equality operator.
Definition: documentcursor.h:311
bool isValid() const
Returns whether the current position of this cursor is a valid position, i.e.
Definition: documentcursor.h:166
int line() const
Retrieve the line on which this cursor is situated.
Definition: documentcursor.cpp:77
QDebug & space()
friend bool operator>(const DocumentCursor &c1, const DocumentCursor &c2)
Greater than operator.
Definition: documentcursor.h:330
friend bool operator<(const DocumentCursor &c1, const DocumentCursor &c2)
Less than operator.
Definition: documentcursor.h:350
int column() const
Retrieve the column on which this cursor is situated.
Definition: documentcursor.cpp:82
WrapBehavior
Wrap behavior for end of line treatement used in move().
Definition: documentcursor.h:78
Document * document() const
Gets the document to which this cursor is bound.
Definition: documentcursor.cpp:63
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.