KTextEditor
cursor.h
Go to the documentation of this file.
friend bool operator<(const Cursor &c1, const Cursor &c2)
Less than operator.
Definition: cursor.h:292
friend Cursor operator+(const Cursor &c1, const Cursor &c2)
Addition operator.
Definition: cursor.h:211
friend bool operator<=(const Cursor &c1, const Cursor &c2)
Less than or equal to operator.
Definition: cursor.h:302
friend bool operator==(const Cursor &c1, const Cursor &c2)
Equality operator.
Definition: cursor.h:253
friend bool operator>=(const Cursor &c1, const Cursor &c2)
Greater than or equal to operator.
Definition: cursor.h:282
friend Cursor & operator-=(Cursor &c1, const Cursor &c2)
Subtraction assignment operator.
Definition: cursor.h:240
virtual void setPosition(const Cursor &position)
Set the current cursor position to position.
Definition: cursor.cpp:96
friend bool operator!=(const Cursor &c1, const Cursor &c2)
Inequality operator.
Definition: cursor.h:262
friend bool operator>(const Cursor &c1, const Cursor &c2)
Greater than operator.
Definition: cursor.h:272
virtual int line() const
Retrieve the line on which this cursor is situated.
Definition: cursor.cpp:62
friend Cursor & operator+=(Cursor &c1, const Cursor &c2)
Addition assignment operator.
Definition: cursor.h:220
friend Cursor operator-(const Cursor &c1, const Cursor &c2)
Subtraction operator.
Definition: cursor.h:231
An object representing a section of text, from one Cursor to another.
Definition: range.h:55
A Cursor which is bound to a specific Document, and maintains its position.
Definition: smartcursor.h:66
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.