Inheritance diagram for wx.richtext.RichTextRange:
This class stores beginning and end positions for a range of data.
wx.richtext.RichTextRange is a data structure that represents a range of text within a wx.richtext.RichTextCtrl. It simply contains integer start and end properties and a few operations useful for dealing with ranges.
In most places in wxPython where a wx.richtext.RichTextRange is expected a 2-tuple containing (start, end) can be used instead.
Creates a new range object.
Parameters:
Returns:
Returns True if the given position is within this range. Does not match if the range is empty.
Parameters:
Returns:
bool
Converts the internal range, which uses the first and last character positions of the range, to the API-standard range, whose end is one past the last character in the range.
In other words, one is added to the end position.
Returns:
Returns the start and end properties as a tuple.
Returns:
(start, end)
Returns the end position.
Returns:
long
Returns the length of the range.
Returns:
long
Returns the start of the range.
Returns:
long
Returns True if this range is completely outside range.
Parameters:
Returns:
bool
Returns True if this range is completely within range.
Parameters:
Returns:
bool
Limits this range to be within range.
Parameters:
Returns:
bool
Sets the end of the range.
Parameters:
Sets the range.
Parameters:
Sets the start of the range.
Parameters:
Converts the API-standard range, whose end is one past the last character in the range, to the internal form, which uses the first and last character positions of the range.
In other words, one is subtracted from the end position.
Returns: