Logo Search packages:      
Sourcecode: wxwindows2.4 version File versions

Range Class Reference

#include <Document.h>

List of all members.

Detailed Description

The range class represents a range of text in a document. The two values are not sorted as one end may be more significant than the other as is the case for the selection where the end position is the position of the caret. If either position is invalidPosition then the range is invalid and most operations will fail.

Definition at line 24 of file Document.h.

Public Member Functions

bool Contains (Range other) const
bool Contains (Position pos) const
bool ContainsCharacter (Position pos) const
bool Overlaps (Range other) const
 Range (Position start_, Position end_)
 Range (Position pos=0)
bool Valid () const

Public Attributes

Position end
Position start

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index