KTextEditor
movingrange.h
Go to the documentation of this file.
37 // The vi in put mode yank highlighting could use it, too: https://bugs.kde.org/show_bug.cgi?id=324695
141 DoNotExpand = 0x0,
143 ExpandLeft = 0x1,
145 ExpandRight = 0x2
153 AllowEmpty = 0x0,
154 InvalidateIfEmpty = 0x1
422 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:410
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:343
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:132
bool contains(const Range &range) const
Check whether the this range wholly encompasses range.
Definition: movingrange.h:399
bool overlapsLine(int line) const
Check whether the range overlaps at least part of line.
Definition: movingrange.h:452
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:466
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:381
bool onSingleLine() const
Check whether the start() and end() cursors of this range are on the same line.
Definition: movingrange.h:477
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:421
bool containsColumn(int column) const
Check whether the range contains column.
Definition: movingrange.h:432
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:139
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: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.