schlamar wrote:I'm missing a view.add_region() implementation.
Yeah, often wanted a RegionSet/Selection api, like view.sel(), for those badboys. Jon mentioned it was difficult to expose like that due to the implementation details (likely placing a hi priority on buttery smoothness )
Wonder if could at least create a nice wrapper class, using fictional sublime_api.view_add_region(key, region), sublime_api.view_subtract_region(key, region), sublime_api.view_regions_contains(key, region) etc to do most the work on the C++ side of things.
It is better to remain silent and be thought a fool, than to speak out and remove all doubt