When you select a word, Sublime outlines all other occurrences of the word in the document (at least with my theme), which I believe are called Regions.
Is there a way to retrieve those Regions?
I can almost replicate this effect using self.view.find_all, but the matching isn’t quite the same. I just want to get a RegionSet of everything that Sublime has already marked. self.view.sel() only returns the region for the Word I selected, not the other boxed/outlined regions.
More details and a screenshot at: stackoverflow.com/questions/1306 … s-selected
Thanks in advance.
Brad