ST3
Represents an area of the buffer. Empty regions, where a == b are valid.
b
# =>
int
The second end of the region. May be less that a, in which case the region is a reversed one.
contains(region)
# =>
bool
Returns True iff the given region is a subset.
contains(point)
# =>
bool
Returns True iff begin() <= point <= end().
contains(region)
# =>
bool
Returns True iff the given region is a subset.
contains(point)
# =>
bool
Returns True iff begin() <= point <= end().
cover(region)
# =>
Region
Returns a Region spanning both this and the given regions.
empty()
# =>
bool
Returns true iff begin() == end().
empty()
# =>
bool
Returns True iff begin() == end().
intersection(region)
# =>
Region
Returns the set intersection of the two regions.
intersects(region)
# =>
bool
Returns True iff this == region or both include one or more positions in common.
intersects(region)
# =>
bool
Returns True iff self == region or both include one or more positions in common.
size()
# =>
int
Returns the number of characters spanned by the region. Always >= 0.
xpos
# =>
int
The target horizontal position of the region, or -1 if undefined. Effects behavior when pressing the up or down keys.
Generated from the official documentation on Sat Oct 29 20:16:47 EEST 2016 by Leonid Shevtsov.