sublime.RegionSet

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



add ST2

ST2 add(region) # => None

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



add_all ST2

ST2 add_all(region_set) # => None

Adds all regions in the given set.



clear ST2

ST2 clear() # => None

Removes all regions.



contains ST2

ST2 contains(region) # => bool

Returns true iff the given region is a subset.



subtract ST2

ST2 subtract(region) # => None

Subtracts the region from all regions in the set.




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