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:470
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:549
friend Range operator-(const Range &r1, const Range &r2)
Subtraction operator.
Definition: range.h:482
friend Range & operator-=(Range &r1, const Range &r2)
Subtraction assignment operator.
Definition: range.h:493
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:537
friend Range operator&(const Range &r1, const Range &r2)
Intersects r1 and r2.
Definition: range.h:504
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:515
const KShortcut & end()
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.