KTextEditor
range.h
Go to the documentation of this file.
A Range which is bound to a specific Document, and maintains its position.
Definition: smartrange.h:94
friend Range & operator+=(Range &r1, const Range &r2)
Addition assignment operator.
Definition: range.h:474
virtual void setRange(const Range &range)
Set the start and end cursors to range.start() and range.end() respectively.
Definition: range.cpp:126
QDebug operator<<(QDebug s, KDebugStreamFunction f)
friend bool operator>(const Range &r1, const Range &r2)
Greater than operator.
Definition: range.h:553
friend Range operator-(const Range &r1, const Range &r2)
Subtraction operator.
Definition: range.h:486
friend Range & operator-=(Range &r1, const Range &r2)
Subtraction assignment operator.
Definition: range.h:497
An object representing a section of text, from one Cursor to another.
Definition: range.h:54
friend bool operator!=(const Range &r1, const Range &r2)
Inequality operator.
Definition: range.h:541
friend Range operator&(const Range &r1, const Range &r2)
Intersects r1 and r2.
Definition: range.h:508
Range intersect(const Range &range) const
Intersects this range with another, returning the shared area of the two ranges.
Definition: range.cpp:316
friend Range & operator&=(Range &r1, const Range &r2)
Intersects r1 with r2 and assigns the result to r1.
Definition: range.h:519
const KShortcut & end()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:27:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:27:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.