sublime.Selection

ST3

Maintains a set of Regions, ensuring that none overlap. The regions are kept in sorted order.



add ST3

ST3 add(region) # => None

Adds the given region. It will be merged with any intersecting regions already contained within the set.



add_all ST3

ST3 add_all(regions) # => None

Adds all regions in the given list or tuple.



clear ST3

ST3 clear() # => None

Removes all regions.



contains ST3

ST3 contains(region) # => bool

Returns True iff the given region is a subset.



subtract ST3

ST3 subtract(region) # => None

Subtracts the region from all regions in the set.




Generated from the official documentation on Sat Oct 29 20:16:35 EEST 2016 by Leonid Shevtsov.