KTextEditor
movingrange.h
Go to the documentation of this file.
131 DoNotExpand = 0x0,
133 ExpandLeft = 0x1,
135 ExpandRight = 0x2
143 AllowEmpty = 0x0,
144 InvalidateIfEmpty = 0x1
412 return (line > start().line() || (line == start().line() && !start().column())) && line < end().line();
bool contains(const Cursor &cursor) const
Check to see if cursor is contained within this range, ie >= start() and < end(). ...
Definition: movingrange.h:400
A Cursor which is bound to a specific Document, and maintains its position.
Definition: movingcursor.h:66
const Range toRange() const
Convert this clever range into a dumb one.
Definition: movingrange.h:333
A class which provides notifications of state changes to a MovingRange.
Definition: movingrangefeedback.h:48
A range that is bound to a specific Document, and maintains its position.
Definition: movingrange.h:122
bool contains(const Range &range) const
Check whether the this range wholly encompasses range.
Definition: movingrange.h:389
bool overlapsLine(int line) const
Check whether the range overlaps at least part of line.
Definition: movingrange.h:442
bool overlapsColumn(int column) const
Check to see if this range overlaps column; that is, if column is between start().column() and end().column().
Definition: movingrange.h:456
QDebug operator<<(QDebug s, KDebugStreamFunction f)
A KParts derived class representing a text document.
Definition: document.h:111
bool isEmpty() const
Returns true if this range contains no characters, ie.
Definition: movingrange.h:371
bool onSingleLine() const
Check whether the start() and end() cursors of this range are on the same line.
Definition: movingrange.h:467
An object representing a section of text, from one Cursor to another.
Definition: range.h:54
bool containsLine(int line) const
Returns true if this range wholly encompasses line.
Definition: movingrange.h:411
bool containsColumn(int column) const
Check whether the range contains column.
Definition: movingrange.h:422
virtual const MovingCursor & start() const =0
Retrieve start cursor of this range, read-only.
InsertBehavior
Determine how the range reacts to characters inserted immediately outside the range.
Definition: movingrange.h:129
virtual const MovingCursor & end() const =0
Retrieve end cursor of this range, read-only.
A text widget with KXMLGUIClient that represents a Document.
Definition: view.h:145
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:52:20 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:52:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.