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
A Range which is bound to a specific Document, and maintains its position.
Definition smartrange.h:95
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.