KTextEditor
smartrange.h
Go to the documentation of this file.
102 DoNotExpand = 0,
104 ExpandLeft = 0x1,
107 };
622 SmartRange(SmartCursor* start, SmartCursor* end, SmartRange* parent = 0L, InsertBehaviors insertBehavior = DoNotExpand);
An object representing a section of text, from one Cursor to another.
Definition: range.h:55
A Cursor which is bound to a specific Document, and maintains its position.
Definition: smartcursor.h:66
A class which provides notifications of state changes to a SmartRange via QObject signals.
Definition: smartrangenotifier.h:49
A class which provides notifications of state changes to a SmartRange via virtual inheritance.
Definition: smartrangewatcher.h:51
A Range which is bound to a specific Document, and maintains its position.
Definition: smartrange.h:95
InsertBehavior
Determine how the range reacts to characters inserted immediately outside the range.
Definition: smartrange.h:100
SmartRange * parentRange() const
Returns this range's parent range, if one exists.
Definition: smartrange.h:277
const QList< KAction * > & associatedActions() const
Access the list of currently associated KActions.
Definition: smartrange.h:487
SmartRange * topParentRange() const
Returns the range's top parent range, or this range if there are no parents.
Definition: smartrange.h:318
const SmartCursor & smartStart() const
Get the start point of this range.
Definition: smartrange.h:153
virtual SmartRangeNotifier * createNotifier()=0
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.