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:523
virtual void setRange(const Range &range)
Set the start and end cursors to range.start() and range.end() respectively.
Definition: range.cpp:126
friend bool operator>(const Range &r1, const Range &r2)
Greater than operator.
Definition: range.h:602
friend Range operator-(const Range &r1, const Range &r2)
Subtraction operator.
Definition: range.h:535
friend Range & operator-=(Range &r1, const Range &r2)
Subtraction assignment operator.
Definition: range.h:546
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:590
friend Range operator&(const Range &r1, const Range &r2)
Intersects r1 and r2.
Definition: range.h:557
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:568
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.