KTextEditor
range.h
Go to the documentation of this file.
An object representing a section of text, from one Cursor to another.
Definition: range.h:55
friend Range & operator-=(Range &r1, const Range &r2)
Subtraction assignment operator.
Definition: range.h:497
friend Range & operator&=(Range &r1, const Range &r2)
Intersects r1 with r2 and assigns the result to r1.
Definition: range.h:519
friend Range & operator+=(Range &r1, const Range &r2)
Addition assignment operator.
Definition: range.h:474
bool boundaryOnColumn(int column) const
Check whether column is on the same column as either of the start() or end() boundaries.
Range intersect(const Range &range) const
Intersects this range with another, returning the shared area of the two ranges.
Definition: range.cpp:316
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:553
friend Range operator&(const Range &r1, const Range &r2)
Intersects r1 and r2.
Definition: range.h:508
friend Range operator-(const Range &r1, const Range &r2)
Subtraction operator.
Definition: range.h:486
A Range which is bound to a specific Document, and maintains its position.
Definition: smartrange.h:95
const KShortcut & end()
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.