KTextEditor
movingcursor.h
Go to the documentation of this file.
77 StayOnInsert = 0x0,
78 MoveOnInsert = 0x1
85 Wrap = 0x0,
86 NoWrap = 0x1
virtual int column() const =0
Retrieve the column on which this cursor is situated.
friend bool operator<=(const MovingCursor &c1, const MovingCursor &c2)
Less than or equal to operator.
Definition: movingcursor.h:343
friend bool operator<(const MovingCursor &c1, const MovingCursor &c2)
Less than operator.
Definition: movingcursor.h:333
A Cursor which is bound to a specific Document, and maintains its position.
Definition: movingcursor.h:66
QDebug & nospace()
A range that is bound to a specific Document, and maintains its position.
Definition: movingrange.h:132
InsertBehavior
Insert behavior of this cursor, should it stay if text is insert at its position or should it move...
Definition: movingcursor.h:76
A KParts derived class representing a text document.
Definition: document.h:111
bool isValidTextPosition() const
Check whether the current position of this cursor is a valid text position.
Definition: movingcursor.h:181
const Cursor toCursor() const
Convert this clever cursor into a dumb one.
Definition: movingcursor.h:272
QDebug & space()
bool isValid() const
Returns whether the current position of this cursor is a valid position, i.e.
Definition: movingcursor.h:171
virtual int line() const =0
Retrieve the line on which this cursor is situated.
friend bool operator!=(const MovingCursor &c1, const MovingCursor &c2)
Inequality operator.
Definition: movingcursor.h:303
friend bool operator>(const MovingCursor &c1, const MovingCursor &c2)
Greater than operator.
Definition: movingcursor.h:313
friend bool operator>=(const MovingCursor &c1, const MovingCursor &c2)
Greater than or equal to operator.
Definition: movingcursor.h:323
friend bool operator==(const MovingCursor &c1, const MovingCursor &c2)
Equality operator.
Definition: movingcursor.h:294
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:48 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:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.